org.encog.ml.graph

## Class BasicNode

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

- Direct Known Subclasses:
    ActionNode, EuclideanNode

      public class BasicNode
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BasicNode(String label)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `connect(BasicNode newNode, double cost)`
    `List<BasicEdge>` | `getBackConnections()`
    `List<BasicEdge>` | `getConnections()`
    `double` | `getCost(BasicNode node)`
    `String` | `getLabel()`
    `String` | `toString()`

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

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

- - ### Constructor Detail

    - #### BasicNode

          public BasicNode(String label)

  - ### Method Detail

    - #### getConnections

          public List<BasicEdge> getConnections()

    - #### getLabel

          public String getLabel()

    - #### connect

          public void connect(BasicNode newNode,
                     double cost)

    - #### getBackConnections

          public List<BasicEdge> getBackConnections()

      Returns:
        the backConnections

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### getCost

          public double getCost(BasicNode node)

Copyright © 2014. All Rights Reserved.