SyTen

◆ SA_genetic_dc()

template<typename Size , typename FunctionEval , typename TemperatureFunction >
auto syten::BasisTransformation::SimulatedAnnealing::SA_genetic_dc ( Size  size,
FunctionEval const &  func,
TemperatureFunction const &  temp_func,
Vec< Index > const &  types = {},
Index const &  num_steps = 1e5 
)

Genetic divide and conquer simulated annelaing.

Template Parameters
FunctionEvalfunction evaluation type, takes a Vector and returns a cost.
Temperaturefunction, has to be lowered during the SA
Parameters
orderinitial ordering.
funcfunction object used to evaluate the function at a specific point.
temp_functemperature function, returns the current temperature, scales with the step_count.
num_stepsnumber of permutations per temperature.
Returns
a tuple of the final ordering and associated cost.

References syten::BasisTransformation::SimulatedAnnealing::SA_genetic_dc().

Referenced by syten::BasisTransformation::SimulatedAnnealing::SA_genetic_dc().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: