bcds.phison.sim
Class PmTracePathLength.PathBetweenPairs
java.lang.Object
bcds.phison.sim.PmTracePathLength.PathBetweenPairs
- Enclosing class:
- PmTracePathLength<V,E>
public class PmTracePathLength.PathBetweenPairs
- extends java.lang.Object
For every pair of nodes, keeps:
a) the shortest path measured in hop
b) the frequency of the length of paths effectively found during routing.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PmTracePathLength.PathBetweenPairs
public PmTracePathLength.PathBetweenPairs()
countPath
public void countPath(V n1,
V n2,
Path<V,E> path)
- Increment the frequency of |path|, |P|=path length.
getPathLengthFreq
public FreqTable<java.lang.Integer> getPathLengthFreq(V n1,
V n2)
getLargestPathLength
public int getLargestPathLength()