org.moeaframework.core.fitness
Class CrowdingDistanceFitnessEvaluator
java.lang.Object
org.moeaframework.core.fitness.CrowdingDistanceFitnessEvaluator
- All Implemented Interfaces:
- FitnessEvaluator
public class CrowdingDistanceFitnessEvaluator
- extends Object
- implements FitnessEvaluator
|
Method Summary |
boolean |
areLargerValuesPreferred()
Returns true if larger fitness values are preferred; otherwise
smaller fitness values are preferred. |
void |
evaluate(Population population)
Evaluates the solutions in the specified population assigning the
FITNESS_ATTRIBUTE attribute. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CrowdingDistanceFitnessEvaluator
public CrowdingDistanceFitnessEvaluator()
evaluate
public void evaluate(Population population)
- Description copied from interface:
FitnessEvaluator
- Evaluates the solutions in the specified population assigning the
FITNESS_ATTRIBUTE attribute.
- Specified by:
evaluate in interface FitnessEvaluator
- Parameters:
population - the population to be evaluated
areLargerValuesPreferred
public boolean areLargerValuesPreferred()
- Description copied from interface:
FitnessEvaluator
- Returns
true if larger fitness values are preferred; otherwise
smaller fitness values are preferred.
- Specified by:
areLargerValuesPreferred in interface FitnessEvaluator
- Returns:
true if larger fitness values are preferred; otherwise
smaller fitness values are preferred
Copyright 2009-2015 MOEA Framework. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage. Hosted by