|
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.algorithm.SPEA2.StrengthFitnessEvaluator
public class SPEA2.StrengthFitnessEvaluator
Fitness evaluator for the strength measure with crowding-based niching.
| Field Summary |
|---|
| Fields inherited from interface org.moeaframework.core.FitnessEvaluator |
|---|
FITNESS_ATTRIBUTE |
| Constructor Summary | |
|---|---|
SPEA2.StrengthFitnessEvaluator(int k)
Constructs a new fitness evaluator for computing the strength measure with crowding-based niching. |
|
| 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 |
| Constructor Detail |
|---|
public SPEA2.StrengthFitnessEvaluator(int k)
k - crowding is based on the distance to the k-th
nearest neighbor| Method Detail |
|---|
public void evaluate(Population population)
FitnessEvaluatorFITNESS_ATTRIBUTE attribute.
evaluate in interface FitnessEvaluatorpopulation - the population to be evaluatedpublic boolean areLargerValuesPreferred()
FitnessEvaluatortrue if larger fitness values are preferred; otherwise
smaller fitness values are preferred.
areLargerValuesPreferred in interface FitnessEvaluatortrue if larger fitness values are preferred; otherwise
smaller fitness values are preferred
|
MOEA Framework 2.5 API Specification |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||