Package org.opt4j.operators.algebra
Interface Algebra<G extends org.opt4j.core.Genotype>
-
- Type Parameters:
G
- the type of genotype
- All Superinterfaces:
org.opt4j.core.optimizer.Operator<G>
- All Known Implementing Classes:
AlgebraDouble
,AlgebraGenericImplementation
public 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 theAlgebraDouble
.Since the operator method is accepting
varargs
it cannot be parameterized for each genotype.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description G
algebra(Term term, org.opt4j.core.Genotype... genotypes)
default java.lang.Class<? extends org.opt4j.core.optimizer.Operator<?>>
getOperatorType()
-
-
-
Method Detail
-
algebra
G algebra(Term term, org.opt4j.core.Genotype... genotypes)
- Parameters:
term
- the termgenotypes
- the genotypes- Returns:
- the resulting genotype
-
getOperatorType
default java.lang.Class<? extends org.opt4j.core.optimizer.Operator<?>> getOperatorType()
- Specified by:
getOperatorType
in interfaceorg.opt4j.core.optimizer.Operator<G extends org.opt4j.core.Genotype>
-
-