bcds.phison.sim
Class PmTracePathLength.PathBetweenPairs

java.lang.Object
  extended by 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.


Constructor Summary
PmTracePathLength.PathBetweenPairs()
           
 
Method Summary
 void countPath(V n1, V n2, Path<V,E> path)
          Increment the frequency of |path|, |P|=path length.
 int getLargestPathLength()
           
 FreqTable<java.lang.Integer> getPathLengthFreq(V n1, V n2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PmTracePathLength.PathBetweenPairs

public PmTracePathLength.PathBetweenPairs()
Method Detail

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()