net.sourceforge.jabm.report
Class InteractionIntervalReport
java.lang.Object
net.sourceforge.jabm.report.AbstractReport
net.sourceforge.jabm.report.InteractionIntervalReport
- All Implemented Interfaces:
- EventListener, Report
- Direct Known Subclasses:
- FreshInteractionIntervalReport
public class InteractionIntervalReport
- extends AbstractReport
A report which samples data regularly in response to
an InteractionsFinishedEvent. The data to be sampled
is configured by specifying an instance of ReportVariables
.
- See Also:
ReportVariables
-
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
interactions
protected int interactions
sampleInterval
protected int sampleInterval
DEFAULT_SAMPLE_INTERVAL
public static final int DEFAULT_SAMPLE_INTERVAL
- See Also:
- Constant Field Values
InteractionIntervalReport
public InteractionIntervalReport(int sampleInterval,
ReportVariables reportVariables)
InteractionIntervalReport
public InteractionIntervalReport()
InteractionIntervalReport
public InteractionIntervalReport(int sampleInterval)
InteractionIntervalReport
public InteractionIntervalReport(ReportVariables reportVariables)
eventOccurred
public void eventOccurred(SimEvent event)
- Specified by:
eventOccurred
in interface EventListener
- Overrides:
eventOccurred
in class AbstractReport
onSimulationFinished
public void onSimulationFinished(SimEvent event)
onSimulationStarting
public void onSimulationStarting(SimulationStartingEvent event)
onInteractionsFinished
public void onInteractionsFinished(InteractionsFinishedEvent event)
getSampleInterval
public int getSampleInterval()
setSampleInterval
public void setSampleInterval(int sampleInterval)
- Configure the sampling interval for this report. The underlying
ReportVariables will be updated at the corresponding frequency.
- Parameters:
sampleInterval
-