Package bcds.phison.sim

This package comprises the simulator and several processing modules.

See:
          Description

Interface Summary
ProcessingModule<V,E> Processing modules for PHISON must implement this interface.
StatsExporter The StatsExporter interface defines the methods that must be implemented so that a class can be treated as an statistics exporter of values in a SimStatsCollector object.
 

Class Summary
Consts Define constants used by some classes associated to Sim.
LinkCosts<V,E> Centralizes functions related to computing link cost.
LinkFailureEffect  
LinkFailureEventInfo<E>  
LinkUtilizationStats<E> Statistics about the utilization of links.
PmBase<V,E> Provides default functionality and data for classes implementing the ProcessingModule interface.
PmDTypeReplicator<V,E> Create new processing modules for each traffic type (rq.traf_type) and send the same received event to each of them.
PmDumpRAState<V,E> Dumps the state of all routing algorithms at a given time (time=connection request number).
PmLinkFailure<V,E> Process (single) link failures, that is, act upon LINK_FAILURE and LINK_REPAIR events.
PmNetProps<V,E> The PmNetProps module print some network properties at the module's shutdown time.
PmRegistry<V,E> A registry for ProcessingModule objects.
PmTrace2TR<V,E> Prints progress indication: The interval of printing is controlled by ".interval".
PmTraceConn<V,E> The PmTraceConn module prints to System.out information about connections as events (connection requests and releases) are processed.
PmTraceConnGbl<V,E> Prints global information about connections (# of connections received, # of connections blocked, blocking ratio and connection holding time).
PmTraceLinkUsage<V,E> Prints: - A frequency table of the usage of each link.
PmTraceLinkUsageToDOT<V extends GraphIONode,E> Generates .dot files to visually present (instantaneous) link usage.
PmTracePathLength<V,E> Prints: - The frequency of path lengths (of working path, and of backup paths, if available).
PmTraceProgress<V,E> The module PmTraceProgress prints information about connections acceptance and rejection at regular intervals of connection requests.
PmTraceTimestepBlocking<V,E> Prints the "instantaneous" blocking ratio in each time step.
PmTraceTrafficMatrix<V,E> XXX wrong: Prints progress indication:
PmTrfReader<V,E> The class PmTrfReader inserts events by reading a .trf file.
Sim<V extends GraphIONode,E> This class implements a "driver" program that coordinates the execution of the path-based simulator.
SimCore<V,E> Implements a minimal core of a discrete-event simulator targeted at path-oriented networks.
SimGlobals<V,E> Provides "contextual" data to users of the core simulator, for example modules.
SimParams Parameters that the user can pass to the simulator.
SimStatsCollector This class offers a synchronized map to store statistical collectors for Sim (and related classes).
SimTask<V extends GraphIONode,E> SimTask offers a simulation execution environment that is prepared based on parameters given in the SimParams object and, to a lesser extent, in the SimGlobals object, passed to the constructor.
StatsExporterBase Provides default functionality and data for classes implementing the StatsExporter interface.
SxSeriesToGnuPlot The SxSeriesToGnuPlot generates a GNU Plot script for each group of statistical collectors whose members are instances of Series.
SxStdoutBasic The SxStdoutBasic class is an exporter that prints (some) of the statistical collectors reports to stdout.
 

Enum Summary
ConnRequestErrorCode Lists the possible outcomes of the processing of a connection creation request.
Consts.COST_TYPE Identifies the edge cost function.
Consts.DEBUG Extra flags the user can pass to the simulator.
Consts.TRAF_TYPE Type of traffic.
LinkFailureEffect.Effect The possible outcomes of a failure affecting a connection.
 

Exception Summary
ConnBlockingException  
EventProcessingException Base class for all the exceptions thrown by PHISON during event processing.
LimitReachedException  
 

Package bcds.phison.sim Description

This package comprises the simulator and several processing modules.