public class Dijkstra<Q> extends Object
| Modifier and Type | Method and Description |
|---|---|
static <Q> Dijkstra<Q> |
create(Collection<DefaultWeightedEdge<Q>> edgeCollection) |
protected void |
dijkstra(NavigableSet<DijkstraVertex<Q>> navigable) |
void |
dijkstra(Q pointer) |
HashMap<Q,DijkstraVertex<Q>> |
getGraph() |
List<Map.Entry<Q,Double>> |
path() |
public static <Q> Dijkstra<Q> create(Collection<DefaultWeightedEdge<Q>> edgeCollection)
Q - edgeCollection - public void dijkstra(Q pointer) throws NoSuchElementException
pointer - NoSuchElementExceptionprotected void dijkstra(NavigableSet<DijkstraVertex<Q>> navigable)
navigable - public HashMap<Q,DijkstraVertex<Q>> getGraph()
Copyright © 2018 Terra Software Informatics LLC.. All rights reserved.