public class ShortestPathGraph
extends java.lang.Object
Constructor and Description |
---|
ShortestPathGraph(java.util.Collection<LocalDotNode> nodes,
java.util.Collection<LocalDotEdge> edges) |
Modifier and Type | Method and Description |
---|---|
java.util.List<LocalDotEdge> |
getShortestPath(LocalDotNode from,
LocalDotNode to,
boolean addSelfEdgeIfNecessary) |
public ShortestPathGraph(java.util.Collection<LocalDotNode> nodes, java.util.Collection<LocalDotEdge> edges)
public java.util.List<LocalDotEdge> getShortestPath(LocalDotNode from, LocalDotNode to, boolean addSelfEdgeIfNecessary)