public class FloydWarshall_Float extends 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()
Copyright © 2012 The Cloud Computing and Distributed Systems (CLOUDS) Laboratory, The University of Melbourne. All Rights Reserved.