public class Graph
extends java.lang.Object
Constructor and Description |
---|
Graph() |
Modifier and Type | Method and Description |
---|---|
static void |
computePaths(Vertex source)
Computes all paths from the source Vertex
|
static java.util.List<Vertex> |
getShortestPathTo(Vertex target)
Calculates the shortest path to a target
|