| Package | Description |
|---|---|
| org.protempa.graph |
| Modifier and Type | Method and Description |
|---|---|
static BellmanFord.Mode |
BellmanFord.Mode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BellmanFord.Mode[] |
BellmanFord.Mode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| 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–2018 Emory University. All rights reserved.