public interface Probeable
An object that can be probed for a history of its state OVER THE MOST RECENT NETWORK TIME STEP. A Probeable must declare a list of state variables via the method listStates(), and is responsible for storing store a history of these state variables covering the most recent network time step (data from past time steps can be discarded).
Modifier and Type | Method and Description |
---|---|
TimeSeries |
getHistory(java.lang.String stateName)
Note that the units of TimeSeries' for a given state do not change over time (ie at different
time steps).
|
java.util.Properties |
listStates() |
TimeSeries getHistory(java.lang.String stateName) throws SimulationException
stateName
- A state variable nameSimulationException
- if the Probeable does not have the requested statejava.util.Properties listStates()