MOEA Framework 2.12
API Specification

org.moeaframework.core.fitness
Class HypervolumeContributionFitnessEvaluator

java.lang.Object
  extended by org.moeaframework.core.fitness.HypervolumeContributionFitnessEvaluator
All Implemented Interfaces:
FitnessEvaluator

public class HypervolumeContributionFitnessEvaluator
extends Object
implements FitnessEvaluator

Assigns the fitness of solutions based on their contribution to the overall hypervolume.


Field Summary
 
Fields inherited from interface org.moeaframework.core.FitnessEvaluator
FITNESS_ATTRIBUTE
 
Constructor Summary
HypervolumeContributionFitnessEvaluator(Problem problem)
          Constructs a new hypervolume contribution fitness evaluator with an offset of 100.
HypervolumeContributionFitnessEvaluator(Problem problem, double offset)
          Constructs a new hypervolume contribution fitness evaluator.
 
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

HypervolumeContributionFitnessEvaluator

public HypervolumeContributionFitnessEvaluator(Problem problem)
Constructs a new hypervolume contribution fitness evaluator with an offset of 100.

Parameters:
problem - the problem

HypervolumeContributionFitnessEvaluator

public HypervolumeContributionFitnessEvaluator(Problem problem,
                                               double offset)
Constructs a new hypervolume contribution fitness evaluator.

Parameters:
problem - the problem
offset - the offset used when determining the reference point for\ the hypervolume calculation.
Method Detail

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

MOEA Framework 2.12
API Specification

Copyright 2009-2016 MOEA Framework. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage. Visit us on Github!