onegpy.solutions.node.Function

class onegpy.solutions.node.Function(n_children, f_eval=None)[source]

Function object.

# Attribute
n_children: int, the number of children of this function. eval: function, function of node to evaluate.
__init__(n_children, f_eval=None)[source]
Parameters:
  • n_children – int. the number of children of this function.
  • f_eval – function, function of node to evaluate.

Methods

__init__(n_children[, f_eval])
param n_children:
 int. the number of children of this function.