MOEA Framework 2.12
API Specification

org.moeaframework.core.operator
Class StandardOperators

java.lang.Object
  extended by org.moeaframework.core.spi.OperatorProvider
      extended by org.moeaframework.core.operator.StandardOperators

public class StandardOperators
extends OperatorProvider

Default provider of operators. The name and properties columns show the values accepted by getVariation(String, Properties, Problem).

Operator Type Name Properties
SBX Real sbx sbx.rate, sbx.distributionIndex
PM Real pm pm.rate, pm.distributionIndex
UM Real um um.rate
DifferentialEvolutionVariation Real de de.crossoverRate, de.stepSize
PCX Real pcx pcx.parents, pcx.offspring, pcx.eta, pcx.zeta
SPX Real spx spx.parents, spx.offspring, spx.epsilon
UNDX Real undx undx.parents, undx.offspring, undx.eta, undx.zeta
AdaptiveMetropolis Real am am.parents, am.offspring, am.coefficient
HUX Binary hux hux.rate
BitFlip Binary bf bf.rate
PMX Permutation pmx pmx.rate
Insertion Permutation insertion insertion.rate
Swap Permutation swap swap.rate
SSX Subset ssx ssx.rate
Replace Subset replace replace.rate
GrammarCrossover Grammar gx gx.rate
GrammarMutation Grammar gm gm.rate
SubtreeCrossover Program bx bx.rate
PointMutation Program ptm ptm.rate
OnePointCrossover Any 1x 1x.rate
TwoPointCrossover Any 2x 2x.rate
UniformCrossover Any ux ux.rate


Constructor Summary
StandardOperators()
           
 
Method Summary
 String getMutationHint(Problem problem)
          Returns the name of the suggested mutation operator for the given problem.
 Variation getVariation(String name, Properties properties, Problem problem)
          Returns an instance of the variation operator with the specified name.
 String getVariationHint(Problem problem)
          Returns the name of the suggested variation operator for the given problem.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardOperators

public StandardOperators()
Method Detail

getMutationHint

public String getMutationHint(Problem problem)
Description copied from class: OperatorProvider
Returns the name of the suggested mutation operator for the given problem. Mixed types are currently not supported. Returns null if no mutation operators support the given problem.

Specified by:
getMutationHint in class OperatorProvider
Parameters:
problem - the problem
Returns:
the name of the suggested mutation operator for the given problem

getVariationHint

public String getVariationHint(Problem problem)
Description copied from class: OperatorProvider
Returns the name of the suggested variation operator for the given problem. Mixed types are currently not supported. Returns null if no variation operators support the given problem.

Specified by:
getVariationHint in class OperatorProvider
Parameters:
problem - the problem
Returns:
the name of the suggested variation operator for the given problem

getVariation

public Variation getVariation(String name,
                              Properties properties,
                              Problem problem)
Description copied from class: OperatorProvider
Returns an instance of the variation operator with the specified name. This method must return null if no suitable operator is found.

Specified by:
getVariation in class OperatorProvider
Parameters:
name - the name identifying the variation operator
properties - the implementation-specific properties
problem - the problem to be solved
Returns:
an instance of the variation operator with the specified name

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!