org.apache.commons.graph
Interface MutableDirectedGraph

All Superinterfaces:
DirectedGraph, Graph
All Known Implementing Classes:
DirectedGraphImpl, JDependGraph

public interface MutableDirectedGraph
extends DirectedGraph

Description of the Interface


Method Summary
 void addEdge(Edge e, Vertex source, Vertex target)
          Adds a feature to the Edge attribute of the MutableDirectedGraph object
 void addVertex(Vertex v)
          Adds a feature to the Vertex attribute of the MutableDirectedGraph object
 void removeEdge(Edge e)
          Description of the Method
 void removeVertex(Vertex v)
          Description of the Method
 
Methods inherited from interface org.apache.commons.graph.DirectedGraph
getInbound, getOutbound, getSource, getTarget
 
Methods inherited from interface org.apache.commons.graph.Graph
getEdges, getEdges, getVertices, getVertices
 

Method Detail

addVertex

void addVertex(Vertex v)
               throws GraphException
Adds a feature to the Vertex attribute of the MutableDirectedGraph object

Throws:
GraphException

addEdge

void addEdge(Edge e,
             Vertex source,
             Vertex target)
             throws GraphException
Adds a feature to the Edge attribute of the MutableDirectedGraph object

Throws:
GraphException

removeVertex

void removeVertex(Vertex v)
                  throws GraphException
Description of the Method

Throws:
GraphException

removeEdge

void removeEdge(Edge e)
                throws GraphException
Description of the Method

Throws:
GraphException