public interface IScheduler
Modifier and Type | Method and Description |
---|---|
void |
addSimulator(Double tN,
IAtomicSimulator sim,
int value)
Schedules an event at a given time from a given simulator.
|
Double |
findGTEKey(Double inT)
Find the greatest event time smaller or equal to the one passed in
parameter.
|
void |
remove(Double tN,
int val)
Remove all simulators at the given event time.
|
void |
removeSimulator(double oldtN,
IAtomicSimulator aThis)
Remove a particular simulator, at a given event time, if it is present.
|
Set<IAtomicSimulator> |
selectp(Double t,
int value)
Select the set of simulators making transitions at the given event
time.
|
void addSimulator(Double tN, IAtomicSimulator sim, int value)
tN
- The time of the next event.sim
- The simulator making the event.value
- Indicates whether or not an output will be emitted.Set<IAtomicSimulator> selectp(Double t, int value)
t
- The time of event.value
- Simulators emitting an output or not.void remove(Double tN, int val)
tN
- The time of event.val
- Select Simulators emitting an output or not.void removeSimulator(double oldtN, IAtomicSimulator aThis)
oldtN
- The time of event.aThis
- The simulator to remove.Copyright © 2017–2019 UniversitĂ© CĂ´te d'Azur, CNRS, I3S. All rights reserved.