jcreek.cke.graph
Class TreeGraph

java.lang.Object
  extended byjcreek.cke.graph.DefaultGraph
      extended byjcreek.cke.graph.TreeGraph
All Implemented Interfaces:
java.lang.Cloneable, Graph, java.io.Serializable

public class TreeGraph
extends DefaultGraph

See Also:
Serialized Form

Field Summary
 
Fields inherited from class jcreek.cke.graph.DefaultGraph
edgeList, nodeList, root
 
Constructor Summary
TreeGraph()
           
 
Method Summary
 boolean addEdge(Edge edge)
           
protected  boolean isPath(Node head, Node tail)
           
 
Methods inherited from class jcreek.cke.graph.DefaultGraph
addNode, copy, edgeSize, getChildIterator, getEdgeIterator, getEdgeIterator, getNodeIterator, getNumChildren, getRoot, isRoot, nodeSize, removeEdge, removeEdges, removeNode, setRoot, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TreeGraph

public TreeGraph()
Method Detail

addEdge

public boolean addEdge(Edge edge)
Specified by:
addEdge in interface Graph
Overrides:
addEdge in class DefaultGraph

isPath

protected boolean isPath(Node head,
                         Node tail)


Created at IDI, NTNU by the Artificial Intelligence and Learning group