SearchAlgorithmBase Class Reference

Super class of all (direct) search algorithms. More...

#include <SearchAlgorithm.h>

Inheritance diagram for SearchAlgorithmBase:
SearchAlgorithm< T > SearchAlgorithm< double * > EvolutionaryAlgorithm< T > EvolutionaryAlgorithm< double * > OnePlusOneES CMAElitistSearch CMASearch CMSASearch

List of all members.

Public Member Functions

const std::string & name () const
 return the name of the algorithm
unsigned int iterations () const
 return the number of iterations performed so far
void resetIterations ()
 reset the number of iterations to zero

Protected Member Functions

 SearchAlgorithmBase ()
 Constructor.
virtual ~SearchAlgorithmBase ()
 Destructor.

Protected Attributes

std::string m_name
 name of this algorithm
unsigned int m_iter
 current number of iterations

Detailed Description

Super class of all (direct) search algorithms.

Definition at line 49 of file SearchAlgorithm.h.


Constructor & Destructor Documentation

SearchAlgorithmBase::SearchAlgorithmBase (  )  [inline, protected]

Constructor.

Definition at line 53 of file SearchAlgorithm.h.

virtual SearchAlgorithmBase::~SearchAlgorithmBase (  )  [inline, protected, virtual]

Destructor.

Definition at line 56 of file SearchAlgorithm.h.


Member Function Documentation

unsigned int SearchAlgorithmBase::iterations (  )  const [inline]

return the number of iterations performed so far

Definition at line 63 of file SearchAlgorithm.h.

References m_iter.

const std::string& SearchAlgorithmBase::name (  )  const [inline]

return the name of the algorithm

Definition at line 60 of file SearchAlgorithm.h.

References m_name.

void SearchAlgorithmBase::resetIterations (  )  [inline]

reset the number of iterations to zero

Definition at line 66 of file SearchAlgorithm.h.

References m_iter.


Member Data Documentation

unsigned int SearchAlgorithmBase::m_iter [protected]

current number of iterations

Definition at line 73 of file SearchAlgorithm.h.

Referenced by iterations(), resetIterations(), and SearchAlgorithm< double * >::run().


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