public class ExampleTakeCurrentTimeProbe extends BasicObjectStateProbe<SimpleSimulationContext,Double,javax.measure.quantity.Duration>
SI.SECOND) by taking the current simulation time of a
simulation (observed state object). This class uses SimpleSimulationContext as an
example simulation state object.| Constructor and Description |
|---|
ExampleTakeCurrentTimeProbe(SimpleSimulationContext simulationContext)
Default constructor.
|
takeMeasurement, takeMeasurementaddObserver, getMetricDesciption, isCompatibleWith, removeObserverpublic ExampleTakeCurrentTimeProbe(SimpleSimulationContext simulationContext)
simulationContext - The observer object is a simulation state object, thus, allowing to request its
current simulation time.