public class DelayMatrix_Float
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected float[][] |
mDelayMatrix
matrix holding delay information between any two nodes
|
protected int |
mTotalNodeNum
number of nodes in the distance-aware-topology
|
| Constructor and Description |
|---|
DelayMatrix_Float(TopologicalGraph graph,
boolean directed)
this constructor creates an correct initialized Float-Delay-Matrix
|
protected float[][] mDelayMatrix
protected int mTotalNodeNum
public DelayMatrix_Float(TopologicalGraph graph, boolean directed)
graph - the topological graph as source-informationdirected - true if an directed matrix should be computed, false otherwisepublic float getDelay(int srcID,
int destID)
srcID - the id of the source-nodedestID - the id of the destination-nodepublic java.lang.String toString()
toString in class java.lang.Object