bcds.phison.sim
Class PmNetProps<V,E>

java.lang.Object
  extended by bcds.phison.sim.PmBase<V,E>
      extended by bcds.phison.sim.PmNetProps<V,E>
All Implemented Interfaces:
ProcessingModule<V,E>, WithEnvParams

public class PmNetProps<V,E>
extends PmBase<V,E>

The PmNetProps module print some network properties at the module's shutdown time. The properties printer are:

Beware that computing the diameter of large topologies may be slow. Besides, this module computes it twice, once for min-hop based and another taking into account link costs.

This modules does not accept any environment parameter.

Author:
Juan Segovia S.

Constructor Summary
PmNetProps()
           
 
Method Summary
 void shutdown()
          Prints the properties (diameter and nodal degree).
 
Methods inherited from class bcds.phison.sim.PmBase
ctx, env, getEnviron, getEnvParams, getId, getName, opt, run, setup, sim, stats
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PmNetProps

public PmNetProps()
Method Detail

shutdown

public void shutdown()
Prints the properties (diameter and nodal degree).

Specified by:
shutdown in interface ProcessingModule<V,E>
Overrides:
shutdown in class PmBase<V,E>