public class FloydWarshall_Float
extends java.lang.Object
| Constructor and Description |
|---|
FloydWarshall_Float() |
| Modifier and Type | Method and Description |
|---|---|
float[][] |
allPairsShortestPaths(float[][] adjMatrix)
calculates all pairs delay
|
int[][] |
getPK()
gets predecessor matrix
|
void |
initialize(int numVertices)
initialization matrix
|
public void initialize(int numVertices)
numVertices - number of nodespublic float[][] allPairsShortestPaths(float[][] adjMatrix)
adjMatrix - original delay matrixpublic int[][] getPK()