Super class of all (direct) search algorithms. More...
#include <SearchAlgorithm.h>
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 | |
Super class of all (direct) search algorithms.
Definition at line 49 of file SearchAlgorithm.h.
| 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.
| 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.
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().
std::string SearchAlgorithmBase::m_name [protected] |
name of this algorithm
Definition at line 70 of file SearchAlgorithm.h.
Referenced by CMAElitistSearch::CMAElitistSearch(), CMASearch::CMASearch(), CMSASearch::CMSASearch(), name(), and OnePlusOneES::OnePlusOneES().