MOEA Framework 2.12
API Specification

org.moeaframework.algorithm.single
Class SelfAdaptiveNormalVariation

java.lang.Object
  extended by org.moeaframework.algorithm.single.SelfAdaptiveNormalVariation
All Implemented Interfaces:
Variation

public class SelfAdaptiveNormalVariation
extends Object
implements Variation

Self adaptive variation based on the normal distribution. The self adaptive parameter sigma is stored as the "sigma" attribute. Each call to evolve(Solution[]) performs the following changes:

   sigma = sigma * e^(tau * N(0,1))
   vars = vars + sigma * N(0,I)
 
where N(0,1) and N(0,I) are normally-distributed random numbers with mean 0 and standard deviation 1.


Field Summary
static String SIGMA
          The attribute for storing the self adaptive parameter.
 
Constructor Summary
SelfAdaptiveNormalVariation()
           
 
Method Summary
 Solution[] evolve(Solution[] parents)
          Evolves one or more parent solutions (specified by getArity) and produces one or more child solutions.
 int getArity()
          Returns the number of solutions that must be supplied to the evolve method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIGMA

public static final String SIGMA
The attribute for storing the self adaptive parameter.

See Also:
Constant Field Values
Constructor Detail

SelfAdaptiveNormalVariation

public SelfAdaptiveNormalVariation()
Method Detail

getArity

public int getArity()
Description copied from interface: Variation
Returns the number of solutions that must be supplied to the evolve method.

Specified by:
getArity in interface Variation
Returns:
the number of solutions that must be supplied to the evolve method

evolve

public Solution[] evolve(Solution[] parents)
Description copied from interface: Variation
Evolves one or more parent solutions (specified by getArity) and produces one or more child solutions. By contract, the parents must not be modified. The copy constructor should be used to create copies of the parents with these copies subsequently modified.

Specified by:
evolve in interface Variation
Parameters:
parents - the array of parent solutions
Returns:
an array of child solutions

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!