org.apache.commons.graph
Interface MutableGraph

All Superinterfaces:
Graph
All Known Implementing Classes:
UndirectedGraphImpl

public interface MutableGraph
extends Graph

Description of the Interface


Method Summary
 void addEdge(Edge e)
          Adds a feature to the Edge attribute of the MutableGraph object
 void addVertex(Vertex v)
          Adds a feature to the Vertex attribute of the MutableGraph object
 void connect(Edge e, Vertex v)
          Description of the Method
 void disconnect(Edge e, Vertex v)
          Description of the Method
 void removeEdge(Edge e)
          Description of the Method
 void removeVertex(Vertex v)
          Description of the Method
 
Methods inherited from interface org.apache.commons.graph.Graph
getEdges, getEdges, getVertices, getVertices
 

Method Detail

addVertex

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

Throws:
GraphException

removeVertex

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

Throws:
GraphException

addEdge

public void addEdge(Edge e)
             throws GraphException
Adds a feature to the Edge attribute of the MutableGraph object

Throws:
GraphException

removeEdge

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

Throws:
GraphException

connect

public void connect(Edge e,
                    Vertex v)
             throws GraphException
Description of the Method

Throws:
GraphException

disconnect

public void disconnect(Edge e,
                       Vertex v)
                throws GraphException
Description of the Method

Throws:
GraphException