SyTen
simulated_annealing.h File Reference

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"
+ Include dependency graph for simulated_annealing.h:
+ This graph shows which files directly or indirectly include this file:

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 > &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. 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)
 

Detailed Description

A simulated annealing implementation.