Package | Description |
---|---|
org.oakgp.node.walk |
Provides mechanisms for recursively visiting nodes in a tree structure.
|
Modifier and Type | Method and Description |
---|---|
static Node |
DepthWalk.getAt(Node current,
int index,
DepthWalk.DepthWalkStrategy treeWalkerStrategy)
Returns a
Node from the tree structure represented by the given Node that matches the specified predicate. |
static int |
DepthWalk.getNodeCount(Node tree,
DepthWalk.DepthWalkStrategy treeWalkerStrategy)
Returns the total number of nodes contained in the tree-structure represented by the given
Node that match the specified predicate. |
OakGP Genetic Programming Framework