All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Public Member Functions | List of all members
paal::local_search::two_local_search_commit Struct Reference

Commit class for local_search. More...

#include <2_local_search_components.hpp>

Public Member Functions

template<typename SolutionElement , typename Solution >
bool operator() (Solution &s, const Swap< SolutionElement > &swap)
 flips appropriate segment in the solution More...
 

Detailed Description

Commit class for local_search.

Definition at line 113 of file 2_local_search_components.hpp.

Member Function Documentation

template<typename SolutionElement , typename Solution >
bool paal::local_search::two_local_search_commit::operator() ( Solution &  s,
const Swap< SolutionElement > &  swap 
)
inline

flips appropriate segment in the solution

Template Parameters
SolutionElement
Solution
Parameters
s
swap

Definition at line 123 of file 2_local_search_components.hpp.


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