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 theBooleanGenotype
. The crossover is done onx
points.
-
-
Field Summary
-
Fields inherited from class org.opt4j.operator.crossover.CrossoverListXPoint
random, x
-
-
Constructor Summary
Constructors Constructor Description CrossoverBooleanXPoint(int x, Rand random)
Constructs aCrossoverBooleanXPoint
.
-
-
-
Constructor Detail
-
CrossoverBooleanXPoint
@Inject public CrossoverBooleanXPoint(int x, Rand random)
Constructs aCrossoverBooleanXPoint
.- Parameters:
x
- the number of crossover pointsrandom
- the random number generator
-
-