All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Public Member Functions | List of all members
paal::local_search::tabu_gain_adaptor< TabuList, Gain, AspirationCriteria > Struct Template Reference

Adapts gain to implement tabu search. More...

#include <custom_components.hpp>

Public Member Functions

 tabu_gain_adaptor (TabuList tabuList=TabuList(), Gain gain=Gain(), AspirationCriteria aspirationCriteria=AspirationCriteria())
 constructor More...
 
template<typename... Args>
auto operator() (Args &&...args) -> decltype(std::declval< Gain >()(std::forward< Args >(args)...))
 operator() More...
 

Detailed Description

template<typename TabuList, typename Gain = utils::return_one_functor, typename AspirationCriteria = utils::always_true>
struct paal::local_search::tabu_gain_adaptor< TabuList, Gain, AspirationCriteria >

Adapts gain to implement tabu search.

Template Parameters
TabuList
Gain
AspirationCriteria

Definition at line 264 of file custom_components.hpp.

Constructor & Destructor Documentation

template<typename TabuList , typename Gain = utils::return_one_functor, typename AspirationCriteria = utils::always_true>
paal::local_search::tabu_gain_adaptor< TabuList, Gain, AspirationCriteria >::tabu_gain_adaptor ( TabuList  tabuList = TabuList(),
Gain  gain = Gain(),
AspirationCriteria  aspirationCriteria = AspirationCriteria() 
)
inline

constructor

Parameters
tabuList
gain
aspirationCriteria

Definition at line 273 of file custom_components.hpp.

Member Function Documentation

template<typename TabuList , typename Gain = utils::return_one_functor, typename AspirationCriteria = utils::always_true>
template<typename... Args>
auto paal::local_search::tabu_gain_adaptor< TabuList, Gain, AspirationCriteria >::operator() ( Args &&...  args) -> decltype(std::declval<Gain>()(std::forward<Args>(args)...))
inline

operator()

Template Parameters
Argsargs to be forwarded
Returns

Definition at line 288 of file custom_components.hpp.


The documentation for this struct was generated from the following file: