Package org.opt4j.operator.crossover
Class CrossoverIntegerXPoint
- java.lang.Object
-
- org.opt4j.operator.crossover.CrossoverListXPoint<IntegerGenotype>
-
- org.opt4j.operator.crossover.CrossoverIntegerXPoint
-
- All Implemented Interfaces:
Operator<IntegerGenotype>
,Crossover<IntegerGenotype>
,CrossoverInteger
public class CrossoverIntegerXPoint extends CrossoverListXPoint<IntegerGenotype> implements CrossoverInteger
-
-
Field Summary
-
Fields inherited from class org.opt4j.operator.crossover.CrossoverListXPoint
random, x
-
-
Constructor Summary
Constructors Constructor Description CrossoverIntegerXPoint(int x, Rand random)
Constructs aCrossoverIntegerXPoint
.
-
-
-
Constructor Detail
-
CrossoverIntegerXPoint
@Inject public CrossoverIntegerXPoint(int x, Rand random)
Constructs aCrossoverIntegerXPoint
.- Parameters:
x
- the number of crossover pointsrandom
- the random number generator
-
-