kgp.tree / Function / evaluate

evaluate

open fun evaluate(args: List<Double>): Double

Overrides Node.evaluate

Evaluates this function on the given arguments.

Parameters

args - A collection of arguments. The number of arguments should match the functions arity.

Returns
The result of applying this function to the arguments given.