bcds.phison.sim
Class PmTraceLinkUsageToDOT<V extends GraphIONode,E>
java.lang.Object
bcds.phison.sim.PmBase<V,E>
bcds.phison.sim.PmTraceLinkUsageToDOT<V,E>
- All Implemented Interfaces:
- ProcessingModule<V,E>, WithEnvParams
public class PmTraceLinkUsageToDOT<V extends GraphIONode,E>
- extends PmBase<V,E>
- implements ProcessingModule<V,E>
Generates .dot files to visually present (instantaneous) link usage.
Those links which through which a larger number of connections pass
at a given time, are shown thicker than others.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PmTraceLinkUsageToDOT
public PmTraceLinkUsageToDOT()
setup
public void setup(SimCore<V,E> sim)
- Description copied from class:
PmBase
- Saves the parameter
sim
, which can later be obtained by
calling the sim() method. It also calls
adaptTypes if the environment object is non-null (which should
normally be).
- Specified by:
setup
in interface ProcessingModule<V extends GraphIONode,E>
- Overrides:
setup
in class PmBase<V extends GraphIONode,E>
run
public void run(SimEvents evtype,
ConnectionInfo<V,E> rq)
- Description copied from class:
PmBase
- Empty implementation.
- Specified by:
run
in interface ProcessingModule<V extends GraphIONode,E>
- Overrides:
run
in class PmBase<V extends GraphIONode,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 extends GraphIONode,E>