org.encog.ml.graph
Class BasicGraph
java.lang.Object
org.encog.ml.graph.BasicGraph
- Direct Known Subclasses:
- ScheduleGraph
public class BasicGraph
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicGraph
public BasicGraph(BasicNode rootNode)
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.