auto syten::BasisTransformation::SimulatedAnnealing::SA_reorder | ( | Size | size, |
FunctionEval const & | func, | ||
TemperatureFunction const & | temp_func, | ||
Vec< Index > const & | types = {} , |
||
Index const & | num_steps = 1.e6 |
||
) |
Basic simulated annealing algorithm.
FunctionEval | function evaluation type, takes a Vector and returns a cost. |
Temperature | function, has to be lowered during the SA |
order | initial ordering. |
func | function object used to evaluate the function at a specific point. |
temp_func | temperature function, returns the current temperature, scales with the step_count. |
num_steps | number of permutations per temperature. |
References syten::BasisTransformation::SimulatedAnnealing::SA_reorder().
Referenced by syten::BasisTransformation::SimulatedAnnealing::SA_reorder().