public class FloatingAppReporter extends Report implements ApplicationListener
FloatingApplication.
Provides information about when a node enters/leaves a specific anchor zone
This is only used for the "flux" mode of operation to assess how many nodes
enter and leave a single anchor zone.DEF_PRECISION, INTERVAL_SETTING, INTERVALLED_FORMAT, NAN, out, OUT_SUFFIX, OUTPUT_SETTING, PRECISION_SETTING, REPORT_NS, REPORTDIR_SETTING, WARMUP_S, warmupIDs, warmupTime| Constructor and Description |
|---|
FloatingAppReporter() |
| Modifier and Type | Method and Description |
|---|---|
void |
done()
Called when the simulation is done, user requested
premature termination or intervalled report generating decided
that it's time for the next report.
|
void |
gotEvent(java.lang.String event,
java.lang.Object params,
Application app,
DTNHost host)
Application has generated an event.
|
addWarmupID, checkDirExistence, format, getAverage, getIntAverage, getIntMedian, getMedian, getScenarioName, getSettings, getSimTime, getVariance, init, isWarmup, isWarmupID, newEvent, removeWarmupID, setPrefix, writepublic void gotEvent(java.lang.String event,
java.lang.Object params,
Application app,
DTNHost host)
ApplicationListenergotEvent in interface ApplicationListenerevent - Event name.params - Additional parameters for the eventapp - Application instance that generated the event.host - The host this application instance is running on.