treebolic.model.graph
Class MutableGraph

java.lang.Object
  extended by treebolic.model.graph.Graph
      extended by treebolic.model.graph.MutableGraph

public class MutableGraph
extends Graph

Mutable graph

Author:
Bernard Bou

Field Summary
 
Fields inherited from class treebolic.model.graph.Graph
dfs, theEdges, theNodes
 
Constructor Summary
MutableGraph()
           
 
Method Summary
 void add(GraphEdge thisEdge)
          Add edge.
 void add(GraphNode thisNode)
          Add node.
 
Methods inherited from class treebolic.model.graph.Graph
getEdges, getEdges, getNodes, getNodeToEdgesMap, getNodeWithMinimumIncomingDegree, getNonTreeEdges, getTreeEdges, makeSpanningTree, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MutableGraph

public MutableGraph()
Method Detail

add

public void add(GraphNode thisNode)
Add node.

Parameters:
thisNode - the node to add.

add

public void add(GraphEdge thisEdge)
Add edge.

Parameters:
thisEdge - the edge to add.