genetiK::StopCriterionMaxIteration Class Reference
[Common GenetiK framework]

iteration count stop condition for an EvolutionaryAlgorithm This class encapsulates an iteration count stop condition for an EvolutionaryAlgorithm. It stops when a fixed number of iterations has been performed. More...

#include <StopCriterionMaxIteration.h>

Inheritance diagram for genetiK::StopCriterionMaxIteration:

Inheritance graph
[legend]
Collaboration diagram for genetiK::StopCriterionMaxIteration:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 StopCriterionMaxIteration (unsigned int maxIteration)
 creates a new StopCriterionMaxIteration that stops after maxIteration iterations
 ~StopCriterionMaxIteration ()
 default destructor
virtual bool reached ()
 actual stop criterion

Detailed Description

iteration count stop condition for an EvolutionaryAlgorithm This class encapsulates an iteration count stop condition for an EvolutionaryAlgorithm. It stops when a fixed number of iterations has been performed.


Constructor & Destructor Documentation

genetiK::StopCriterionMaxIteration::StopCriterionMaxIteration unsigned int  maxIteration  )  [inline]
 

creates a new StopCriterionMaxIteration that stops after maxIteration iterations

Parameters:
maxIteration the number of iterations to perform


Member Function Documentation

virtual bool genetiK::StopCriterionMaxIteration::reached  )  [inline, virtual]
 

actual stop criterion

Returns:
true if EvolutionaryAlgorithm maxIteration have been performed, false otherwise

Implements genetiK::StopCriterion.


The documentation for this class was generated from the following files:
Generated on Thu Feb 23 12:22:12 2006 for GenetiK by  doxygen 1.4.6