bcds.phison.sim
Class PmTracePathLength<V,E>
java.lang.Object
bcds.phison.sim.PmBase<V,E>
bcds.phison.sim.PmTracePathLength<V,E>
- All Implemented Interfaces:
- ProcessingModule<V,E>, WithEnvParams
public class PmTracePathLength<V,E>
- extends PmBase<V,E>
- implements ProcessingModule<V,E>
Prints:
- The frequency of path lengths (of working path, and of
backup paths, if available).
- The frequency table of the reason for connection rejections
(blockings).
- A frequency table of the observed working path lengths, together with
the length of the shortest possible (based on min hop).
If show_shortest_paths is true (default=false), the shortest path
between each node pair is also printed.
Nested Class Summary |
class |
PmTracePathLength.PathBetweenPairs
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
public PmTracePathLength()
run
public void run(SimEvents evtype,
ConnectionInfo<V,E> rq)
- Description copied from class:
PmBase
- Empty implementation.
- Specified by:
run
in interface ProcessingModule<V,E>
- Overrides:
run
in class PmBase<V,E>
shutdown
public void shutdown()
- Description copied from class:
PmBase
- Empty implementation.
- Specified by:
shutdown
in interface ProcessingModule<V,E>
- Overrides:
shutdown
in class PmBase<V,E>
getEnvParams
public java.lang.Object[] getEnvParams()
- Description copied from class:
PmBase
- Returns an empty array. This is the default implementation,
suitable for modules that do not need additional
environment parameters.
- Specified by:
getEnvParams
in interface WithEnvParams
- Overrides:
getEnvParams
in class PmBase<V,E>