org.encog.ml.graph

## Class BasicGraph

- java.lang.Object
- - org.encog.ml.graph.BasicGraph

- Direct Known Subclasses:
    ScheduleGraph

      public class BasicGraph
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BasicGraph(BasicNode rootNode)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `BasicNode` | `connect(BasicNode baseNode, BasicNode newNode, double cost)`
    `List<BasicNode>` | `getNodes()`
    `BasicNode` | `getRoot()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BasicGraph

          public BasicGraph(BasicNode rootNode)

  - ### Method Detail

    - #### getNodes

          public List<BasicNode> getNodes()

    - #### getRoot

          public BasicNode getRoot()

      Returns:
        the root

    - #### connect

          public BasicNode connect(BasicNode baseNode,
                          BasicNode newNode,
                          double cost)

Copyright © 2014. All Rights Reserved.