public class DefaultDirectedGraph extends Object implements DirectedGraph
| Constructor and Description |
|---|
DefaultDirectedGraph(int nbVertices) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(DirectedEdge e) |
void |
addEdge(int tail,
int head) |
Iterator<Integer> |
adjacencyList(int v) |
int |
nbVertices() |
public int nbVertices()
nbVertices in interface DirectedGraphpublic Iterator<Integer> adjacencyList(int v)
adjacencyList in interface DirectedGraphpublic void add(DirectedEdge e)
add in interface DirectedGraphpublic void addEdge(int tail,
int head)
addEdge in interface DirectedGraphCopyright © 2014–2018 GraphIK (INRIA - LIRMM). All rights reserved.