Class HUXCrossover<S extends BinarySolution>

java.lang.Object
org.uma.jmetal.operator.crossover.impl.HUXCrossover<S>
All Implemented Interfaces:
java.io.Serializable, CrossoverOperator<S>, Operator<java.util.List<S>,​java.util.List<S>>

public class HUXCrossover<S extends BinarySolution>
extends java.lang.Object
implements CrossoverOperator<S>
This class allows to apply a HUX crossover operator using two parent solutions. NOTE: the operator is applied to the first encoding.variable of the solutions, and the type of the solutions must be Binary
Version:
1.0
Author:
Antonio J. Nebro, Juan J. Durillo
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    HUXCrossover​(double crossoverProbability)
    Constructor
    HUXCrossover​(double crossoverProbability, RandomGenerator<java.lang.Double> randomGenerator)
    Constructor
  • Method Summary

    Modifier and Type Method Description
    double crossoverProbability()  
    java.util.List<S> doCrossover​(double probability, S parent1, S parent2)
    Perform the crossover operation
    java.util.List<S> execute​(java.util.List<S> parents)
    Execute() method
    int numberOfGeneratedChildren()  
    int numberOfRequiredParents()  
    void setCrossoverProbability​(double crossoverProbability)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait