All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Public Member Functions | List of all members
paal::data_structures::tabu_list_remember_solution_and_move< Solution, Move > Class Template Reference

This Tabu list remember both current solution and move It is implemented as tabu_list_remember_move<pair<Solution, Move>> with nullptr passed as dummy solution. More...

#include <tabu_list.hpp>

Inheritance diagram for paal::data_structures::tabu_list_remember_solution_and_move< Solution, Move >:
paal::data_structures::tabu_list_remember_move< std::pair< Solution, Move > >

Public Member Functions

 tabu_list_remember_solution_and_move (unsigned size)
 constructor More...
 
bool is_tabu (Solution s, Move move) const
 is_tabu redirects work to base class More...
 
void accept (Solution &s, const Move &move)
 accept redirects work to base class More...
 

Detailed Description

template<typename Solution, typename Move>
class paal::data_structures::tabu_list_remember_solution_and_move< Solution, Move >

This Tabu list remember both current solution and move It is implemented as tabu_list_remember_move<pair<Solution, Move>> with nullptr passed as dummy solution.

Template Parameters
Solution
Move

Definition at line 96 of file tabu_list.hpp.

Constructor & Destructor Documentation

template<typename Solution , typename Move >
paal::data_structures::tabu_list_remember_solution_and_move< Solution, Move >::tabu_list_remember_solution_and_move ( unsigned  size)
inline

constructor

Parameters
size

Definition at line 106 of file tabu_list.hpp.

Member Function Documentation

template<typename Solution , typename Move >
void paal::data_structures::tabu_list_remember_solution_and_move< Solution, Move >::accept ( Solution &  s,
const Move &  move 
)
inline

accept redirects work to base class

Parameters
s
move

Definition at line 127 of file tabu_list.hpp.

template<typename Solution , typename Move >
bool paal::data_structures::tabu_list_remember_solution_and_move< Solution, Move >::is_tabu ( Solution  s,
Move  move 
) const
inline

is_tabu redirects work to base class

Parameters
s
move
Returns

Definition at line 116 of file tabu_list.hpp.


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