Constructor and Description |
---|
Reduce(Type type)
Creates a higher order functions that recursively applies a function to the elements of a collection.
|
Modifier and Type | Method and Description |
---|---|
Object |
evaluate(Arguments arguments,
Assignments assignments)
Returns the result of applying this operation to the specified
Arguments and Assignments . |
Signature |
getSignature()
Returns the return type and argument types associated with this function.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDisplayName, isPure, simplify
public Reduce(Type type)
type
- the type of the elements contained in the collection - this will also be the type associated with the value produced by evaluating this functionpublic Object evaluate(Arguments arguments, Assignments assignments)
Function
Arguments
and Assignments
.public Signature getSignature()
Function
getSignature
in interface Function
OakGP Genetic Programming Framework