|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public 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.
Classes implementing this interface can be viewed as modules for PHISON's
Sim. For that to work, they must provide a default constructor, and
perform all their initialization in the setup method.
An statistics exporter class has environment parameters that callers can use to alter its behaviour. The main method is run.
Each class must state clearly whether the values of environment parameters are cached in setup or not.
Method Summary | |
---|---|
void |
run()
Performs the actions for which the class is designed. |
void |
setup(SimStatsCollector stats,
Environ env)
(Re)initializes an instance. |
Methods inherited from interface bcds.phison.WithEnvParams |
---|
getEnviron, getEnvParams, getName |
Method Detail |
---|
void setup(SimStatsCollector stats, Environ env)
void run()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |