Class CrossoverDoubleElementwise

    • Constructor Detail

      • CrossoverDoubleElementwise

        public CrossoverDoubleElementwise​(NormalizeDouble normalize,
                                          Rand random)
        Constructs a new CrossoverDoubleElementwise.
        Parameters:
        normalize - the normalize operator
        random - the random number generator
    • Method Detail

      • crossover

        public abstract Pair<Double> crossover​(double x,
                                               double y)
        Performs a crossover with two double values.
        Parameters:
        x - the first value
        y - the second value
        Returns:
        the resulting values