Package org.opt4j.operator.crossover
Class CrossoverBooleanDefault
- java.lang.Object
-
- org.opt4j.operator.crossover.CrossoverListRate<BooleanGenotype>
-
- org.opt4j.operator.crossover.CrossoverBooleanRate
-
- org.opt4j.operator.crossover.CrossoverBooleanDefault
-
- All Implemented Interfaces:
Operator<BooleanGenotype>
,Crossover<BooleanGenotype>
,CrossoverBoolean
public class CrossoverBooleanDefault extends CrossoverBooleanRate
The default crossover operator for the binary vector is theCrossoverBooleanRate
with0.5
rate.
-
-
Field Summary
-
Fields inherited from class org.opt4j.operator.crossover.CrossoverListRate
random, rate
-
-
Constructor Summary
Constructors Constructor Description CrossoverBooleanDefault(Rand random)
Constructs a newCrossoverBooleanDefault
.
-
-
-
Constructor Detail
-
CrossoverBooleanDefault
@Inject public CrossoverBooleanDefault(Rand random)
Constructs a newCrossoverBooleanDefault
.- Parameters:
random
- the random number generator
-
-