@FunctionalInterface public static interface DepthWalk.DepthWalkReplacement
Modifier and Type | Method and Description |
---|---|
Node |
apply(Node node,
int depth) |
Node apply(Node node, int depth)
node
- a node that has been encountered while walking a tree structuredepth
- the depth (distance from the root) of the specified node
within the tree structure being walkednode
within the tree structure being walkedOakGP Genetic Programming Framework