Public Member Functions
mets::forever Class Reference

#include <termination-criteria.hh>

Inheritance diagram for mets::forever:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 forever ()
bool operator() (const feasible_solution &)
 Alternate function that decides if we shoud terminate the search process.
void reset ()
 Reset the criterion to its initial state.

Detailed Description

The mets::forever termination criterion will never terminate the search.

This can be used in the mets::simulated_annealing to stop only when the temperature reaches 0 or in the mets::tabu_search if we want to stop for another reason (e.g. some components or observer raises an exception).

The forever termination criterion cannot be chained. When chained behaviour is undetermined.

Definition at line 231 of file termination-criteria.hh.


Constructor & Destructor Documentation

mets::forever::forever ( ) [inline]

Definition at line 234 of file termination-criteria.hh.


Member Function Documentation

bool mets::forever::operator() ( const feasible_solution fs) [inline, virtual]

Alternate function that decides if we shoud terminate the search process.

(chain of responsibility)

Parameters:
fsThe current working solution.
Returns:
True if we shoud terminate

Reimplemented from mets::termination_criteria_chain.

Definition at line 236 of file termination-criteria.hh.

void mets::forever::reset ( ) [inline, virtual]

Reset the criterion to its initial state.

(chain of responsibility)

Reimplemented from mets::termination_criteria_chain.

Definition at line 238 of file termination-criteria.hh.


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


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:54