|
MOEA Framework 2.5 API Specification |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectorg.moeaframework.core.fitness.IndicatorFitnessEvaluator
public abstract class IndicatorFitnessEvaluator
Abstract class for assigning fitnesses based on an indicator.
| Field Summary |
|---|
| Fields inherited from interface org.moeaframework.core.FitnessEvaluator |
|---|
FITNESS_ATTRIBUTE |
| Constructor Summary | |
|---|---|
IndicatorFitnessEvaluator(Problem problem)
Constructs an indicator-based fitness for the specified problem. |
|
| Method Summary | |
|---|---|
protected abstract double |
calculateIndicator(Solution solution1,
Solution solution2)
Returns the indicator value relative to the two solutions. |
void |
evaluate(Population population)
Evaluates the solutions in the specified population assigning the FITNESS_ATTRIBUTE attribute. |
Problem |
getProblem()
Returns the problem. |
void |
removeAndUpdate(Population population,
int removeIndex)
After calling evaluate(Population), this method is used to
iteratively remove solutions from the population while updating the
fitness value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.moeaframework.core.FitnessEvaluator |
|---|
areLargerValuesPreferred |
| Constructor Detail |
|---|
public IndicatorFitnessEvaluator(Problem problem)
problem - the problem| Method Detail |
|---|
public Problem getProblem()
public void evaluate(Population population)
FitnessEvaluatorFITNESS_ATTRIBUTE attribute.
evaluate in interface FitnessEvaluatorpopulation - the population to be evaluated
public void removeAndUpdate(Population population,
int removeIndex)
evaluate(Population), this method is used to
iteratively remove solutions from the population while updating the
fitness value. There must be no other modifications to the population
between invocations of evaluate(Population) and this method
other than removing solutions using this method.
population - the populationremoveIndex - the index to remove
protected abstract double calculateIndicator(Solution solution1,
Solution solution2)
solution1 - the first solutionsolution2 - the second solution
|
MOEA Framework 2.5 API Specification |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||