Class NormalizeDoubleElementwise

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract double normalize​(double value, double lb, double ub)
      Normalize a double value.
      void normalize​(org.opt4j.core.genotype.DoubleGenotype genotype)
      Normalizes the Genotype .
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NormalizeDoubleElementwise

        public NormalizeDoubleElementwise()
    • Method Detail

      • normalize

        public void normalize​(org.opt4j.core.genotype.DoubleGenotype genotype)
        Description copied from interface: Normalize
        Normalizes the Genotype .
        Specified by:
        normalize in interface Normalize<org.opt4j.core.genotype.DoubleGenotype>
        Parameters:
        genotype - the genotype to be normalized
      • normalize

        public abstract double normalize​(double value,
                                         double lb,
                                         double ub)
        Normalize a double value.
        Parameters:
        value - the value to be normalized
        lb - the lower bound
        ub - the upper bound
        Returns:
        a normalize value in the bounds