Class CrossoverBooleanXPoint

  • All Implemented Interfaces:
    org.opt4j.core.optimizer.Operator<org.opt4j.core.genotype.BooleanGenotype>, Crossover<org.opt4j.core.genotype.BooleanGenotype>, CrossoverBoolean

    public class CrossoverBooleanXPoint
    extends CrossoverListXPoint<org.opt4j.core.genotype.BooleanGenotype>
    implements CrossoverBoolean
    Crossover for the BooleanGenotype. The crossover is done on x points.
    • Constructor Detail

      • CrossoverBooleanXPoint

        @Inject
        public CrossoverBooleanXPoint​(int x,
                                      org.opt4j.core.common.random.Rand random)
        Parameters:
        x - the number of crossover points
        random - the random number generator