A simulated annealing implementation. More...
#include "inc/util/scalars.h"
#include "inc/util/random.h"
#include "inc/util/vec.h"
#include "inc/util/threads.h"
Namespaces | |
namespace | syten |
Syten namespace. | |
Functions | |
Vec< Index > | syten::BasisTransformation::SimulatedAnnealing::permute_pair (Random::Engine gen, Vec< Index > const &types, Vec< Index > order, Index lower, Index upper) |
SRDef | syten::BasisTransformation::SimulatedAnnealing::pick (Random::Engine gen) |
template<typename FunctionEval , typename TemperatureFunction > | |
auto | syten::BasisTransformation::SimulatedAnnealing::SA_ga_dc_helper (FunctionEval const &func, TemperatureFunction const &temp_func, std::vector< Index > ¤t_order, SRDef ¤t_cost, std::vector< Index > const &bounds, Vec< Index > const &types={}, Index const &num_steps=1e5) |
Helper function for the gentic divide and conquer sa. More... | |
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. More... | |
template<typename Size , typename FunctionEval , typename TemperatureFunction > | |
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. More... | |
Vec< Index > | syten::BasisTransformation::SimulatedAnnealing::transpose_neighbours (Random::Engine gen, Vec< Index > const &types, Vec< Index > order, Index lower, Index upper) |
A simulated annealing implementation.