Class AlgebraDouble

  • All Implemented Interfaces:
    org.opt4j.core.optimizer.Operator<org.opt4j.core.genotype.DoubleGenotype>, Algebra<org.opt4j.core.genotype.DoubleGenotype>

    public class AlgebraDouble
    extends java.lang.Object
    implements Algebra<org.opt4j.core.genotype.DoubleGenotype>
    The AlgebraDouble for DoubleGenotype.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.opt4j.core.genotype.DoubleGenotype algebra​(Term term, org.opt4j.core.Genotype... genotypes)
      Performs the Term for each element of the given Genotypes and returns the resulting Genotype.
      • Methods inherited from class java.lang.Object

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

      • AlgebraDouble

        @Inject
        public AlgebraDouble​(NormalizeDouble normalize)
        Constructs a AlgebraDouble .
        Parameters:
        normalize - the normalize operator for double values
    • Method Detail

      • algebra

        public org.opt4j.core.genotype.DoubleGenotype algebra​(Term term,
                                                              org.opt4j.core.Genotype... genotypes)
        Description copied from interface: Algebra
        Performs the Term for each element of the given Genotypes and returns the resulting Genotype.
        Specified by:
        algebra in interface Algebra<org.opt4j.core.genotype.DoubleGenotype>
        Parameters:
        term - the term
        genotypes - the genotypes
        Returns:
        the resulting genotype