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

Public Member Functions | |
| moeoAggregativeComparator (double _weightFitness=1.0, double _weightDiversity=1.0) | |
| Ctor. | |
| const bool | operator() (const MOEOT &_moeo1, const MOEOT &_moeo2) |
| Returns true if _moeo1 < _moeo2 according to the aggregation of their fitness and diversity values. | |
Private Attributes | |
| double | weightFitness |
| the weight for fitness | |
| double | weightDiversity |
| the weight for diversity | |
Definition at line 22 of file moeoAggregativeComparator.h.
| moeoAggregativeComparator< MOEOT >::moeoAggregativeComparator | ( | double | _weightFitness = 1.0, |
|
| double | _weightDiversity = 1.0 | |||
| ) | [inline] |
Ctor.
| _weightFitness | the weight for fitness | |
| _weightDiversity | the weight for diversity |
Definition at line 31 of file moeoAggregativeComparator.h.
| const bool moeoAggregativeComparator< MOEOT >::operator() | ( | const MOEOT & | _moeo1, | |
| const MOEOT & | _moeo2 | |||
| ) | [inline] |
Returns true if _moeo1 < _moeo2 according to the aggregation of their fitness and diversity values.
| _moeo1 | the first solution | |
| _moeo2 | the second solution |
Definition at line 40 of file moeoAggregativeComparator.h.
References moeoAggregativeComparator< MOEOT >::weightDiversity, and moeoAggregativeComparator< MOEOT >::weightFitness.
1.4.7