-
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
DefaultGraph
public DefaultGraph()
-
Method Detail
-
nbVertices
public int nbVertices()
- Specified by:
nbVertices
in interface Graph
-
addVertex
public int addVertex()
- Specified by:
addVertex
in interface Graph
- Returns:
- the index of the new vertex.
-
add
public void add(Edge e)
- Specified by:
add
in interface Graph
Copyright © 2014–2018 GraphIK (INRIA - LIRMM). All rights reserved.