|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
V - the Graph vertices typeE - the Graph edges typepublic interface MutableGraph<V extends Vertex,E extends Edge<V>>
The MutableGraph is a graph that supports the addition and removal of Vertex and Edges.
| Method Summary | |
|---|---|
void |
addEdge(E e)
Adds a feature to the Edge attribute of the MutableGraph object |
void |
addVertex(V v)
Adds a feature to the Vertex attribute of the MutableGraph object. |
void |
removeEdge(E e)
Removed the Edge from the MutableGraph object. |
void |
removeVertex(V v)
Removes the Vertex from the MutableGraph object. |
| Methods inherited from interface org.apache.commons.graph.Graph |
|---|
getEdges, getEdges, getVertices, getVertices |
| Method Detail |
|---|
void addVertex(V v)
Vertex attribute of the MutableGraph object.
v - the Vertex has to be added in this MutableGraph instance.void removeVertex(V v)
Vertex from the MutableGraph object.
v - the Vertex has to be removed from this MutableGraph instance.void addEdge(E e)
Edge attribute of the MutableGraph object
e - the Edge has to be added in this MutableGraph instance.void removeEdge(E e)
Edge from the MutableGraph object.
e - the Edge has to be removed from this MutableGraph instance.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||