Tatooine
Classes | Namespaces | Functions
simulated_annealing.h File Reference

Go to the source code of this file.

Classes

struct  tatooine::simulated_annealing_listener< Energy, Status >
 

Namespaces

namespace  tatooine
 

Functions

template<template< typename > typename Comparator = std::less, typename InitialStatus , typename EnergyFunction , typename TemperaturFunction , typename NeighborFunction , typename RandomEngine >
auto tatooine::simulated_annealing (InitialStatus &&initial_status, size_t const num_iterations, EnergyFunction &&energy_fun, TemperaturFunction &&temperature_fun, NeighborFunction &&neighbor_fun, RandomEngine &&random_engine, std::vector< simulated_annealing_listener< std::decay_t< decltype(energy_fun(std::declval< InitialStatus >()))>, std::decay_t< InitialStatus > > * > const &listeners={})