| Package | Description |
|---|---|
| org.protempa.graph |
| Modifier and Type | Method and Description |
|---|---|
static Map<?,Weight> |
BellmanFord.calcShortestDistances(Object sourceOrDest,
DirectedGraph g,
BellmanFord.Mode mode)
Calculates the distance of every object in a graph from a source object.
|
static boolean |
BellmanFord.hasNegativeCycle(Object sourceOrDest,
DirectedGraph g,
BellmanFord.Mode mode)
Determines if there are any negative cycles found.
|
Copyright © 2012–2016 Emory University. All rights reserved.