MOEA Framework 2.5
API Specification

org.moeaframework.core.fitness
Class AdditiveEpsilonIndicatorFitnessEvaluator

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

public class AdditiveEpsilonIndicatorFitnessEvaluator
extends IndicatorFitnessEvaluator

Indicator-based fitness using the additive ε-indicator.


Field Summary
 
Fields inherited from interface org.moeaframework.core.FitnessEvaluator
FITNESS_ATTRIBUTE
 
Constructor Summary
AdditiveEpsilonIndicatorFitnessEvaluator(Problem problem)
          Constructs an additive ε-indicator fitness evaluator.
 
Method Summary
 boolean areLargerValuesPreferred()
          Returns true if larger fitness values are preferred; otherwise smaller fitness values are preferred.
protected  double calculateIndicator(Solution solution1, Solution solution2)
          Returns the indicator value relative to the two solutions.
 
Methods inherited from class org.moeaframework.core.fitness.IndicatorFitnessEvaluator
evaluate, getProblem, removeAndUpdate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdditiveEpsilonIndicatorFitnessEvaluator

public AdditiveEpsilonIndicatorFitnessEvaluator(Problem problem)
Constructs an additive ε-indicator fitness evaluator.

Parameters:
problem - the problem
Method Detail

calculateIndicator

protected double calculateIndicator(Solution solution1,
                                    Solution solution2)
Description copied from class: IndicatorFitnessEvaluator
Returns the indicator value relative to the two solutions.

Specified by:
calculateIndicator in class IndicatorFitnessEvaluator
Parameters:
solution1 - the first solution
solution2 - the second solution
Returns:
the indicator value relative to the two solutions

areLargerValuesPreferred

public boolean areLargerValuesPreferred()
Description copied from interface: FitnessEvaluator
Returns true if larger fitness values are preferred; otherwise smaller fitness values are preferred.

Returns:
true if larger fitness values are preferred; otherwise smaller fitness values are preferred

MOEA Framework 2.5
API Specification

Copyright 2009-2015 MOEA Framework. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage. Hosted by Get MOEA Framework at SourceForge.net. Fast, secure and Free Open Source software downloads