jeco.kernel.operator.crossover
Class SBXCrossover

java.lang.Object
  extended by jeco.kernel.operator.crossover.CrossoverOperator
      extended by jeco.kernel.operator.crossover.SBXCrossover

public class SBXCrossover
extends CrossoverOperator


Field Summary
static double DEFAULT_ETA_C
          DEFAULT_ETA_C defines a default index crossover
static double DEFAULT_PROBABILITY
           
protected  double eta_c
          eta_c stores the index for crossover to use
protected  double probability
           
 
Constructor Summary
SBXCrossover()
           
SBXCrossover(double eta_c, double probability)
           
 
Method Summary
 Solution[] doCrossover(double probability, Solution parent1, Solution parent2)
           
 Solution[] execute(Solution parent1, Solution parent2)
          Executes the operation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_ETA_C

public static final double DEFAULT_ETA_C
DEFAULT_ETA_C defines a default index crossover

See Also:
Constant Field Values

DEFAULT_PROBABILITY

public static final double DEFAULT_PROBABILITY
See Also:
Constant Field Values

eta_c

protected double eta_c
eta_c stores the index for crossover to use


probability

protected double probability
Constructor Detail

SBXCrossover

public SBXCrossover()

SBXCrossover

public SBXCrossover(double eta_c,
                    double probability)
Method Detail

doCrossover

public Solution[] doCrossover(double probability,
                              Solution parent1,
                              Solution parent2)

execute

public Solution[] execute(Solution parent1,
                          Solution parent2)
Executes the operation

Specified by:
execute in class CrossoverOperator
Parameters:
object - An object containing an array of two parents
Returns:
An object containing the offSprings