#include <moeoArchive.h>
Inheritance diagram for moeoArchive< MOEOT >:

Public Types | |
| typedef MOEOT::ObjectiveVector | ObjectiveVector |
| The type of an objective vector for a solution. | |
Public Member Functions | |
| moeoArchive () | |
| Default ctor. | |
| moeoArchive (moeoObjectiveVectorComparator< ObjectiveVector > &_comparator) | |
| Ctor. | |
| bool | dominates (const ObjectiveVector &_objectiveVector) const |
| Returns true if the current archive dominates _objectiveVector according to the moeoObjectiveVectorComparator given in the constructor. | |
| bool | contains (const ObjectiveVector &_objectiveVector) const |
| Returns true if the current archive already contains a solution with the same objective values than _objectiveVector. | |
| void | update (const MOEOT &_moeo) |
| Updates the archive with a given individual _moeo. | |
| void | update (const eoPop< MOEOT > &_pop) |
| Updates the archive with a given population _pop. | |
| bool | equals (const moeoArchive< MOEOT > &_arch) |
| Returns true if the current archive contains the same objective vectors than the given archive _arch. | |
Private Attributes | |
|
moeoObjectiveVectorComparator< ObjectiveVector > & | comparator |
| The moeoObjectiveVectorComparator used to compare solutions. | |
|
moeoParetoObjectiveVectorComparator< ObjectiveVector > | paretoComparator |
| A moeoObjectiveVectorComparator based on Pareto dominance (used as default). | |
Definition at line 24 of file moeoArchive.h.
| moeoArchive< MOEOT >::moeoArchive | ( | ) | [inline] |
Default ctor.
The moeoObjectiveVectorComparator used to compare solutions is based on Pareto dominance
Definition at line 44 of file moeoArchive.h.
| moeoArchive< MOEOT >::moeoArchive | ( | moeoObjectiveVectorComparator< ObjectiveVector > & | _comparator | ) | [inline] |
Ctor.
| _comparator | the moeoObjectiveVectorComparator used to compare solutions |
Definition at line 52 of file moeoArchive.h.
| bool moeoArchive< MOEOT >::dominates | ( | const ObjectiveVector & | _objectiveVector | ) | const [inline] |
Returns true if the current archive dominates _objectiveVector according to the moeoObjectiveVectorComparator given in the constructor.
| _objectiveVector | the objective vector to compare with the current archive |
Definition at line 60 of file moeoArchive.h.
References moeoArchive< MOEOT >::comparator.
| bool moeoArchive< MOEOT >::contains | ( | const ObjectiveVector & | _objectiveVector | ) | const [inline] |
Returns true if the current archive already contains a solution with the same objective values than _objectiveVector.
| _objectiveVector | the objective vector to compare with the current archive |
Definition at line 78 of file moeoArchive.h.
Referenced by moeoArchive< MOEOT >::equals().
| void moeoArchive< MOEOT >::update | ( | const MOEOT & | _moeo | ) | [inline] |
Updates the archive with a given individual _moeo.
| _moeo | the given individual |
Definition at line 95 of file moeoArchive.h.
References moeoArchive< MOEOT >::comparator.
Referenced by moeoArchive< MOEOT >::update().
| void moeoArchive< MOEOT >::update | ( | const eoPop< MOEOT > & | _pop | ) | [inline] |
Updates the archive with a given population _pop.
| _pop | the given population |
Definition at line 138 of file moeoArchive.h.
References moeoArchive< MOEOT >::update().
| bool moeoArchive< MOEOT >::equals | ( | const moeoArchive< MOEOT > & | _arch | ) | [inline] |
Returns true if the current archive contains the same objective vectors than the given archive _arch.
| _arch | the given archive |
Definition at line 151 of file moeoArchive.h.
References moeoArchive< MOEOT >::contains().
1.4.7