antsim
Interface ScenarioAnalyzer
- All Superinterfaces:
- Clearable
- All Known Implementing Classes:
- GenericScenarioAnalyzer, LoadDeviationAnalyzer, NestLoadListingAnalyzer, NestNeighboursAnalyzer
- public interface ScenarioAnalyzer
- extends Clearable
Interface ScenarioAnalyzer
represents analyzer object
that are invoked at the end of each scenario evaluation. The main
task of an analyzer object is to display insightful data aboyt the
simulation. Different implementation may display different set of
datas; we expect that each type of ant service will be associated
with a distinct analyzer.
- Version:
- $Revision: 1.2 $
- Author:
- Alberto Montresor
Field Summary |
static String |
NAME
Identifier used in the configuration files |
Method Summary |
void |
analyze(Stats stats,
Peernet peernet)
Performs an analysis on the state of the simulated P2P network.
|
NAME
public static final String NAME
- Identifier used in the configuration files
- See Also:
- Constant Field Values
analyze
public void analyze(Stats stats,
Peernet peernet)
- Performs an analysis on the state of the simulated P2P network.
Depending on the implementation of this interface, the analysis
may involve the statistics collected during the run-time evaluation
of the system, or the snapshot of the simulated network represented
by the
Peernet
object.
- Parameters:
stats
- the object used to collect statisticspeernet
- the simulated P2P network, whose content can
be inspected by accessing the storage objects included in it.