SyTen

◆ SA_ga_dc_helper()

template<typename FunctionEval , typename TemperatureFunction >
auto syten::BasisTransformation::SimulatedAnnealing::SA_ga_dc_helper ( FunctionEval const &  func,
TemperatureFunction const &  temp_func,
std::vector< Index > &  current_order,
SRDef current_cost,
std::vector< Index > const &  bounds,
Vec< Index > const &  types = {},
Index const &  num_steps = 1e5 
)

Helper function for the gentic divide and conquer sa.

Parameters
funcfunction object used to evaluate the function at a specific point.
temp_functemperature function, returns the current temperature, scales with the step_count.
current_orderThe current order
current_costThe current cost
boundsBounds
typessite types
num_stepsThe number of steps
Template Parameters
FunctionEvalfunction evaluation type, takes a Vector and returns a cost.
Temperaturefunction, has to be lowered during the SA.
Returns
a tuple of the final ordering and associated cost.

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

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

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