public interface ISimulator extends INamed
Modifier and Type | Method and Description |
---|---|
void |
deltFunc(Double t)
Wrapper for model transition functions.
|
void |
deltFunc(Double t,
Message x)
Wrapper for model transition functions.
|
void |
initialize()
Initialize associated model, time and dates.
|
void |
initialize(Double currentTime)
Initialize associated model, time and dates.
|
IDevs |
model()
Getter on the simulated model.
|
void |
simInject(Double e,
Message m)
Inject an event in the simulation.
|
void |
simulate(Integer itNb)
Run the simulation up to a specified iteration count.
|
void |
timeAdvance(Double d)
Advance current time to the specified date.
|
Double |
tL()
Getter on the last event occurrence date.
|
Double |
tN()
Getter on the next event occurrence date.
|
compareTo
Double tL()
Double tN()
IDevs model()
void initialize()
void initialize(Double currentTime)
currentTime
- Time to next (actually first) event of the
simulation.void deltFunc(Double t, Message x)
t
- Event happen date.x
- Message to be sent.void deltFunc(Double t)
t
- Event happen date.void simulate(Integer itNb)
itNb
- The maximum iteration count.void simInject(Double e, Message m)
e
- The event happen date.m
- The message to be sent.void timeAdvance(Double d)
d
- Time advance.Copyright © 2017–2019 UniversitĂ© CĂ´te d'Azur, CNRS, I3S. All rights reserved.