|
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.core.operator.real.SBX
public class SBX
Simulated binary crossover (SBX) operator. SBX attempts to simulate the offspring distribution of binary-encoded single-point crossover on real-valued decision variables. An example of this distribution, which favors offspring nearer to the two parents, is shown below.
The distribution index controls the shape of the offspring distribution. Larger values for the distribution index generates offspring closer to the parents.
This operator is type-safe.
References:
| Constructor Summary | |
|---|---|
SBX(double probability,
double distributionIndex)
Constructs a SBX operator with the specified probability and distribution index. |
|
| Method Summary | |
|---|---|
static void |
evolve(RealVariable v1,
RealVariable v2,
double distributionIndex)
Evolves the specified variables using the SBX operator. |
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. |
double |
getDistributionIndex()
Returns the distribution index of this SBX operator. |
double |
getProbability()
Returns the probability of applying this SBX operator to each variable. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SBX(double probability,
double distributionIndex)
probability - the probability of applying this SBX operator to each
variabledistributionIndex - the distribution index of this SBX operator| Method Detail |
|---|
public double getProbability()
public double getDistributionIndex()
public int getArity()
Variationevolve method.
getArity in interface Variationevolve methodpublic Solution[] evolve(Solution[] parents)
VariationgetArity) 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.
evolve in interface Variationparents - the array of parent solutions
public static void evolve(RealVariable v1,
RealVariable v2,
double distributionIndex)
v1 - the first variablev2 - the second variabledistributionIndex - the distribution index of this SBX operator
|
MOEA Framework 2.5 API Specification |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||