public class HistoryManagerDEVS extends HistoryManager implements EventListenerInterface
DEVSSimulatorInterface.TimeDoubleUnit.
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
HistoryManager.HistoricalElement| Constructor and Description |
|---|
HistoryManagerDEVS(DEVSSimulatorInterface.TimeDoubleUnit simulator,
Duration history,
Duration cleanUpInterval)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanUpHistory()
Cleans up the history of all registered
Historicals. |
void |
notify(EventInterface event) |
Time |
now()
Returns the current simulation time.
|
String |
toString() |
clear, endOfSimulation, get, getHistoricals, registerHistorical, setpublic HistoryManagerDEVS(DEVSSimulatorInterface.TimeDoubleUnit simulator, Duration history, Duration cleanUpInterval)
simulator - DEVSSimulatorInterface.TimeDoubleUnit; simulatorhistory - Duration; time over which history is guaranteedcleanUpInterval - Duration; clean-up intervalpublic Time now()
protected final void cleanUpHistory()
Historicals.public void notify(EventInterface event) throws RemoteException
notify in interface EventListenerInterfaceRemoteExceptionCopyright © 2014–2018 Delft University of Technology. All rights reserved.