Class CrossoverBooleanRate

java.lang.Object
org.opt4j.operator.crossover.CrossoverListRate<BooleanGenotype>
org.opt4j.operator.crossover.CrossoverBooleanRate
All Implemented Interfaces:
Operator<BooleanGenotype>, Crossover<BooleanGenotype>, CrossoverBoolean
Direct Known Subclasses:
CrossoverBooleanDefault

public class CrossoverBooleanRate extends CrossoverListRate<BooleanGenotype> implements CrossoverBoolean
Crossover for the BooleanGenotype. A point is determined as a crossover point by a probability.
  • Constructor Details

    • CrossoverBooleanRate

      @Inject public CrossoverBooleanRate(double rate, Rand random)
      Constructs a new CrossoverBooleanRate.
      Parameters:
      rate - the rate for a crossover
      random - the random number generator