Package org.opt4j.operator.crossover
Class CrossoverBooleanXPoint
java.lang.Object
org.opt4j.operator.crossover.CrossoverListXPoint<BooleanGenotype>
org.opt4j.operator.crossover.CrossoverBooleanXPoint
- All Implemented Interfaces:
Operator<BooleanGenotype>
,Crossover<BooleanGenotype>
,CrossoverBoolean
public class CrossoverBooleanXPoint
extends CrossoverListXPoint<BooleanGenotype>
implements CrossoverBoolean
Crossover for the
BooleanGenotype
. The crossover is done on x
points.-
Field Summary
Fields inherited from class org.opt4j.operator.crossover.CrossoverListXPoint
random, x
-
Constructor Summary
ConstructorDescriptionCrossoverBooleanXPoint
(int x, Rand random) Constructs aCrossoverBooleanXPoint
. -
Method Summary
Methods inherited from class org.opt4j.operator.crossover.CrossoverListXPoint
crossover
-
Constructor Details
-
CrossoverBooleanXPoint
Constructs aCrossoverBooleanXPoint
.- Parameters:
x
- the number of crossover pointsrandom
- the random number generator
-