Class TwoPointCrossover<T>
java.lang.Object
org.uma.jmetal.operator.crossover.impl.TwoPointCrossover<T>
- All Implemented Interfaces:
Serializable,CrossoverOperator<Solution<T>>,Operator<List<Solution<T>>,List<Solution<T>>>
Created by FlapKap on 27-05-2017.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleintint
-
Constructor Details
-
TwoPointCrossover
public TwoPointCrossover(double probability)
-
-
Method Details
-
execute
-
crossoverProbability
public double crossoverProbability()- Specified by:
crossoverProbabilityin interfaceCrossoverOperator<T>
-
numberOfRequiredParents
public int numberOfRequiredParents()- Specified by:
numberOfRequiredParentsin interfaceCrossoverOperator<T>
-
numberOfGeneratedChildren
public int numberOfGeneratedChildren()- Specified by:
numberOfGeneratedChildrenin interfaceCrossoverOperator<T>
-