Public Member Functions | Protected Attributes
mets::termination_criteria_chain Class Reference

Function object expressing a termination criteria. More...

#include <termination-criteria.hh>

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

List of all members.

Public Member Functions

virtual bool operator() (const feasible_solution &fs)
 Alternate function that decides if we shoud terminate the search process.
termination_criteria_chainoperator= (const termination_criteria_chain &)
virtual void reset ()
 Reset the criterion to its initial state.
 termination_criteria_chain (termination_criteria_chain *next=0)
 Constructor.
 termination_criteria_chain (const termination_criteria_chain &)
 purposely not implemented (see Effective C++)
virtual ~termination_criteria_chain ()
 Virtual destructor.

Protected Attributes

termination_criteria_chainnext_m

Detailed Description

Function object expressing a termination criteria.

The search loop ends when the termination criteria is met.

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


Constructor & Destructor Documentation

Constructor.

Parameters:
nextOptional next criterium in the chain.

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

purposely not implemented (see Effective C++)

Virtual destructor.

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


Member Function Documentation

bool mets::termination_criteria_chain::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 in mets::forever, mets::threshold_termination_criteria, mets::noimprove_termination_criteria, and mets::iteration_termination_criteria.

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

termination_criteria_chain& mets::termination_criteria_chain::operator= ( const termination_criteria_chain )
void mets::termination_criteria_chain::reset ( ) [inline, virtual]

Reset the criterion to its initial state.

(chain of responsibility)

Reimplemented in mets::forever, mets::threshold_termination_criteria, mets::noimprove_termination_criteria, and mets::iteration_termination_criteria.

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


Member Data Documentation

Definition at line 81 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