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

This is custom StopCondition , it returns true after given count limit. More...

#include <custom_components.hpp>

Public Member Functions

 stop_condition_count_limit (unsigned limit)
 Constructor. More...
 
template<typename... Args>
bool operator() (Args &&...) const
 increment the counter and checks if the given limit is reached. More...
 

Detailed Description

This is custom StopCondition , it returns true after given count limit.

Definition at line 149 of file custom_components.hpp.

Constructor & Destructor Documentation

paal::local_search::stop_condition_count_limit::stop_condition_count_limit ( unsigned  limit)
inline

Constructor.

Parameters
limitgiven count limit

Definition at line 156 of file custom_components.hpp.

Member Function Documentation

template<typename... Args>
bool paal::local_search::stop_condition_count_limit::operator() ( Args &&  ...) const
inline

increment the counter and checks if the given limit is reached.

Template Parameters
Args
Returns

Definition at line 165 of file custom_components.hpp.


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