#include <moeoRealObjectiveVector.h>
Inheritance diagram for moeoRealObjectiveVector< ObjectiveVectorTraits >:

Public Member Functions | |
| moeoRealObjectiveVector (double _value=0.0) | |
| Ctor. | |
| moeoRealObjectiveVector (std::vector< double > &_v) | |
| Ctor from a vector of doubles. | |
| bool | dominates (const moeoRealObjectiveVector< ObjectiveVectorTraits > &_other) const |
| Returns true if the current objective vector dominates _other according to the Pareto dominance relation (but it's better to use a moeoObjectiveVectorComparator object to compare solutions). | |
| bool | operator== (const moeoRealObjectiveVector< ObjectiveVectorTraits > &_other) const |
| Returns true if the current objective vector is equal to _other (according to a tolerance value). | |
| bool | operator!= (const moeoRealObjectiveVector< ObjectiveVectorTraits > &_other) const |
| Returns true if the current objective vector is different than _other (according to a tolerance value). | |
| bool | operator< (const moeoRealObjectiveVector< ObjectiveVectorTraits > &_other) const |
| Returns true if the current objective vector is smaller than _other on the first objective, then on the second, and so on (can be usefull for sorting/printing). | |
| bool | operator> (const moeoRealObjectiveVector< ObjectiveVectorTraits > &_other) const |
| Returns true if the current objective vector is greater than _other on the first objective, then on the second, and so on (can be usefull for sorting/printing). | |
| bool | operator<= (const moeoRealObjectiveVector< ObjectiveVectorTraits > &_other) const |
| Returns true if the current objective vector is smaller than or equal to _other on the first objective, then on the second, and so on (can be usefull for sorting/printing). | |
| bool | operator>= (const moeoRealObjectiveVector< ObjectiveVectorTraits > &_other) const |
| Returns true if the current objective vector is greater than or equal to _other on the first objective, then on the second, and so on (can be usefull for sorting/printing). | |
that an objective value is represented using a double, and this for any objective.
Definition at line 27 of file moeoRealObjectiveVector.h.
| moeoRealObjectiveVector< ObjectiveVectorTraits >::moeoRealObjectiveVector | ( | std::vector< double > & | _v | ) | [inline] |
Ctor from a vector of doubles.
| _v | the std::vector < double > |
Definition at line 45 of file moeoRealObjectiveVector.h.
| bool moeoRealObjectiveVector< ObjectiveVectorTraits >::dominates | ( | const moeoRealObjectiveVector< ObjectiveVectorTraits > & | _other | ) | const [inline] |
Returns true if the current objective vector dominates _other according to the Pareto dominance relation (but it's better to use a moeoObjectiveVectorComparator object to compare solutions).
| _other | the other moeoRealObjectiveVector object to compare with |
Definition at line 54 of file moeoRealObjectiveVector.h.
| bool moeoRealObjectiveVector< ObjectiveVectorTraits >::operator== | ( | const moeoRealObjectiveVector< ObjectiveVectorTraits > & | _other | ) | const [inline] |
Returns true if the current objective vector is equal to _other (according to a tolerance value).
| _other | the other moeoRealObjectiveVector object to compare with |
Definition at line 65 of file moeoRealObjectiveVector.h.
Referenced by moeoRealObjectiveVector< ObjectiveVectorTraits >::operator!=(), and moeoRealObjectiveVector< ObjectiveVectorTraits >::operator>=().
| bool moeoRealObjectiveVector< ObjectiveVectorTraits >::operator!= | ( | const moeoRealObjectiveVector< ObjectiveVectorTraits > & | _other | ) | const [inline] |
Returns true if the current objective vector is different than _other (according to a tolerance value).
| _other | the other moeoRealObjectiveVector object to compare with |
Definition at line 82 of file moeoRealObjectiveVector.h.
References moeoRealObjectiveVector< ObjectiveVectorTraits >::operator==().
| bool moeoRealObjectiveVector< ObjectiveVectorTraits >::operator< | ( | const moeoRealObjectiveVector< ObjectiveVectorTraits > & | _other | ) | const [inline] |
Returns true if the current objective vector is smaller than _other on the first objective, then on the second, and so on (can be usefull for sorting/printing).
| _other | the other moeoRealObjectiveVector object to compare with |
Definition at line 93 of file moeoRealObjectiveVector.h.
Referenced by moeoRealObjectiveVector< ObjectiveVectorTraits >::operator<=().
| bool moeoRealObjectiveVector< ObjectiveVectorTraits >::operator> | ( | const moeoRealObjectiveVector< ObjectiveVectorTraits > & | _other | ) | const [inline] |
Returns true if the current objective vector is greater than _other on the first objective, then on the second, and so on (can be usefull for sorting/printing).
| _other | the other moeoRealObjectiveVector object to compare with |
Definition at line 105 of file moeoRealObjectiveVector.h.
Referenced by moeoRealObjectiveVector< ObjectiveVectorTraits >::operator>=().
| bool moeoRealObjectiveVector< ObjectiveVectorTraits >::operator<= | ( | const moeoRealObjectiveVector< ObjectiveVectorTraits > & | _other | ) | const [inline] |
Returns true if the current objective vector is smaller than or equal to _other on the first objective, then on the second, and so on (can be usefull for sorting/printing).
| _other | the other moeoRealObjectiveVector object to compare with |
Definition at line 116 of file moeoRealObjectiveVector.h.
References moeoRealObjectiveVector< ObjectiveVectorTraits >::operator<().
| bool moeoRealObjectiveVector< ObjectiveVectorTraits >::operator>= | ( | const moeoRealObjectiveVector< ObjectiveVectorTraits > & | _other | ) | const [inline] |
Returns true if the current objective vector is greater than or equal to _other on the first objective, then on the second, and so on (can be usefull for sorting/printing).
| _other | the other moeoRealObjectiveVector object to compare with |
Definition at line 127 of file moeoRealObjectiveVector.h.
References moeoRealObjectiveVector< ObjectiveVectorTraits >::operator==(), and moeoRealObjectiveVector< ObjectiveVectorTraits >::operator>().
1.4.7