Package org.opt4j.operator.crossover
Class CrossoverIntegerRate
java.lang.Object
org.opt4j.operator.crossover.CrossoverListRate<IntegerGenotype>
org.opt4j.operator.crossover.CrossoverIntegerRate
- All Implemented Interfaces:
Operator<IntegerGenotype>
,Crossover<IntegerGenotype>
,CrossoverInteger
- Direct Known Subclasses:
CrossoverIntegerDefault
public class CrossoverIntegerRate
extends CrossoverListRate<IntegerGenotype>
implements CrossoverInteger
-
Field Summary
Fields inherited from class org.opt4j.operator.crossover.CrossoverListRate
random, rate
-
Constructor Summary
ConstructorDescriptionCrossoverIntegerRate
(double rate, Rand random) Constructs aCrossoverIntegerRate
. -
Method Summary
Methods inherited from class org.opt4j.operator.crossover.CrossoverListRate
crossover
-
Constructor Details
-
CrossoverIntegerRate
Constructs aCrossoverIntegerRate
.- Parameters:
rate
- the rate for a crossover pointrandom
- the random number generator
-