public abstract class FloydWarshallStrategy extends CachedStrategy
| Red (ssb) |
| Red (shahrooz) |
| Constructor and Description |
|---|
FloydWarshallStrategy(Graph graph)
Construct an FloydWarshallStrategy.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
_compute()
Basic computation performed by all the analysis implementing a
floyd-warshall like analysis on a given graph.
|
protected void |
_floydWarshallComputation(int k,
int i,
int j)
Derived classed need to override the _floydWarshallComputation method
of this class to provide the correct functionality.
|
_convertResult, _result, cachingStatus, disableCaching, enableCaching, getCachedResult, graph, obsolete, reset, setCachedResult, toStringpublic FloydWarshallStrategy(Graph graph)
graph - The given graph.protected java.lang.Object _compute()
_compute in class CachedStrategyprotected void _floydWarshallComputation(int k,
int i,
int j)
k - The counting parameter of the first loop of the Floyd-Warshall
computation.i - The counting parameter of the second loop of the Floyd-Warshall
computation.j - The counting parameter of the third and last loop of the
Floyd-Warshall computation.