Package net.bmahe.genetics4j.gp.math
Class InputOperation<T>
java.lang.Object
net.bmahe.genetics4j.gp.Operation<T>
net.bmahe.genetics4j.gp.math.InputOperation<T>
- Direct Known Subclasses:
ImmutableInputOperation
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.bmahe.genetics4j.gp.Operation
apply, getArity, getName, getPrettyName, isTerminal, returnedType
-
Constructor Details
-
InputOperation
public InputOperation()
-
-
Method Details
-
acceptedTypes
Description copied from class:Operation
Returns the list of types that this operation accepts as arguments.For strongly-typed genetic programming, this defines the type constraints for each argument position. The list size determines the operation's arity.
- Specified by:
acceptedTypes
in classOperation<T>
- Returns:
- the list of accepted argument types, empty for terminals
-
compute
Description copied from class:Operation
Returns the computation function for this operation. -
index
@Parameter public abstract int index()
-