Interface Algebra<G extends Genotype>

Type Parameters:
G - the type of genotype
All Superinterfaces:
Operator<G>
All Known Implementing Classes:
AlgebraDouble, AlgebraGenericImplementation

public interface Algebra<G extends Genotype> extends Operator<G>

The Algebra operator. By default this class is implemented by the AlgebraDouble.

Since the operator method is accepting varargs it cannot be parameterized for each genotype.

  • Method Summary

    Modifier and Type
    Method
    Description
    algebra(Term term, Genotype... genotypes)
    Performs the Term for each element of the given Genotypes and returns the resulting Genotype.
  • Method Details

    • algebra

      G algebra(Term term, Genotype... genotypes)
      Performs the Term for each element of the given Genotypes and returns the resulting Genotype.
      Parameters:
      term - the term
      genotypes - the genotypes
      Returns:
      the resulting genotype