G
- the type of genotypepublic interface Algebra<G extends org.opt4j.core.Genotype>
extends org.opt4j.core.optimizer.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.
Modifier and Type | Method and Description |
---|---|
G |
algebra(Term term,
org.opt4j.core.Genotype... genotypes)
|
default java.lang.Class<? extends org.opt4j.core.optimizer.Operator<?>> |
getOperatorType() |
G algebra(Term term, org.opt4j.core.Genotype... genotypes)
term
- the termgenotypes
- the genotypesdefault java.lang.Class<? extends org.opt4j.core.optimizer.Operator<?>> getOperatorType()
getOperatorType
in interface org.opt4j.core.optimizer.Operator<G extends org.opt4j.core.Genotype>