c++ - Optimization run assistance -
i running optimisation of 2 sets of data against each other , after assistance looking settings of run based on calculated results. i'll explain....
i run 2 data lines against each other (think graph lines) - line , line b. these lines have crossing points - upward , downward based on direction of each line.e.g. line going , line b going down 'upwards cross' , line going down , line b going 'downward cross'.the program calculates financial analysis.
i analyze crossing points , gain resultant 'rank' analysis based on set of rules. rank single integer.
line has number of settings optimisation run e.g. window 1 value of 10 20 , window 2 @ value of 30 40. line b has settings.
when run optimisation iterate through parameters available each line , calculate rank. result of optimisation run list of ranks size of number of permutations avaliable.
so question this:
what best way line settings calculated rank using position (index) in rank list. optimisation settings used create run stored rank run , can used look-up.
i adding additional parameters in future system line want program take account additional future line settings without affecting rank files created previous adding new parameter.
in addition want able find out index based on particular setting included in optimisation run (the reverse look-up of previous method).
i want avoid versioning backward compatability if @ possible lookup algorithm self-sufficient.
is hash table suitable purpose or have implementation techniques fit better? have examples of type of operation in action in c++?
thanks,
chris.
if understand correctly, have bunch of associated data (settings + rank), on able perform lookups different key types. if so, boost.multiindex sounds you're looking for.
Comments
Post a Comment