Package graph
Interface DirectedGraph<V,E>
- Type Parameters:
V
- the type of verticesE
- the type of edges
- All Known Subinterfaces:
WeightedDigraph<V,
E>
- All Known Implementing Classes:
Maze
public interface DirectedGraph<V,E>
This is a constraint interface for a directed graph of type G, with
vertices of type V and edges of type E.
For use in implementing generic graph algorithms.
-
Method Summary
-
Method Details
-
outgoingEdges
All outgoing edges from a vertex in the graph -
source
The source vertex for an edge in the graph. -
dest
The destination vertex for an edge in the graph.
-