Class Best2Bin


  • public class Best2Bin
    extends Best1Bin
    The Best-1-Bin rule always picks the best chromosome as the base. The two genetic operations are:
    • mutation by adding TWO scaled, randomly sampled vector difference to a third vector (differential mutation);
    • crossover by performing a uniform crossover (discrete recombination).
    • Constructor Detail

      • Best2Bin

        public Best2Bin​(double Cr,
                        double F,
                        RandomLongGenerator uniform)
        Construct an instance of Best2Bin.
        Parameters:
        Cr - the crossover probability
        F - the scaling factor
        uniform - a uniform random number generator