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.app.generate.program
Class EncogTreeNode

    java.lang.Object
      org.encog.app.generate.program.EncogTreeNode

Direct Known Subclasses:
  EncogGenProgram, EncogProgramNode

    public class EncogTreeNode

extends Object

A tree node that represents code to be generated.

Constructor Summary
`EncogTreeNode(EncogGenProgram theProgram, EncogTreeNode theParent)` Construct a tree node.

Method Summary
`void` | `addComment(String str)` Add a comment.
`List<EncogProgramNode>` | `getChildren()`
`EncogTreeNode` | `getParent()`
`EncogGenProgram` | `getProgram()`
`void` | `setProgram(EncogGenProgram program)` Set the program.

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

Constructor Detail

### EncogTreeNode

    public EncogTreeNode(EncogGenProgram theProgram,
                         EncogTreeNode theParent)

  Construct a tree node.

  Parameters:
    `theProgram` - The program.
    `theParent` - The parent.

Method Detail

### addComment

    public void addComment(String str)

  Add a comment.

  Parameters:
    `str` - The comment.

### getChildren

    public List<EncogProgramNode> getChildren()

  Returns:
    The children.

### getParent

    public EncogTreeNode getParent()

  Returns:
    The parent.

### getProgram

    public EncogGenProgram getProgram()

  Returns:
    The program.

### setProgram

    public void setProgram(EncogGenProgram program)

  Set the program.

  Parameters:
    `program` - The program.

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.