@FunctionalInterface public static interface DepthWalk.DepthWalkStrategy
Modifier and Type | Method and Description |
---|---|
boolean |
test(Node node,
int depth) |
boolean test(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 walkedtrue
if this node should be considered, else false
OakGP Genetic Programming Framework