Package io.jenetics

Class MeanAlterer<G extends Gene<?,​G> & Mean<G>,​C extends Comparable<? super C>>

    • Constructor Detail

      • MeanAlterer

        public MeanAlterer​(double probability)
        Constructs an alterer with a given recombination probability.
        probability - the crossover probability.
        IllegalArgumentException - if the probability is not in the valid range of [0, 1].
      • MeanAlterer

        public MeanAlterer()
        Create a new alterer with alter probability of 0.05.