Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.encog.ml.tree.traverse
Class DepthFirstTraversal

    java.lang.Object
      org.encog.ml.tree.traverse.DepthFirstTraversal

All Implemented Interfaces:
  TreeTraversal

    public class DepthFirstTraversal

extends Object
implements TreeTraversal

Performs a depth-first traversal.

Constructor Summary
`DepthFirstTraversal()`

Method Summary
`void` | `traverse(TreeNode treeNode, TreeTraversalTask task)` Traverse the tree.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DepthFirstTraversal

    public DepthFirstTraversal()

Method Detail

### traverse

    public void traverse(TreeNode treeNode,
                         TreeTraversalTask task)

  Traverse the tree.

  Specified by:
    `traverse` in interface `TreeTraversal`
  Parameters:
    `treeNode` - The tree to traverse.
    `task` - The task to execute on each tree node.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2014. All Rights Reserved.