Microscopic Traffic Simulator
|
Every class which performs some repeating action should implement this interface More...
Public Member Functions | |
TimeSpan | GetTimeToNextAction (Random random) |
Method for getting time to next action from the implementing class More... | |
void | PerformAction (Random random) |
Method for action which is performed by the implementing class More... | |
Properties | |
bool | IsPauseScheduled [get] |
Check whether the simulation action generator has the pause scheduled. More... | |
int | Priority [get] |
Priority determining the rank of the events which have the same time. More... | |
Every class which performs some repeating action should implement this interface
Definition at line 8 of file ISimulationEventsGenerator.cs.
TimeSpan Microscopic_Traffic_Simulator___Model.SimulationControl.ISimulationEventsGenerator.GetTimeToNextAction | ( | Random | random | ) |
Method for getting time to next action from the implementing class
random | Random instance for cases that the resulting time would be result of random variables |
Implemented in Microscopic_Traffic_Simulator___Model.CellularTopologyObjects.CellularTopology, Microscopic_Traffic_Simulator___Model.TrafficObjects.Sensor, and Microscopic_Traffic_Simulator___Model.TrafficObjects.Generator.
void Microscopic_Traffic_Simulator___Model.SimulationControl.ISimulationEventsGenerator.PerformAction | ( | Random | random | ) |
Method for action which is performed by the implementing class
random | Random instance for case that action depends on random variables |
Implemented in Microscopic_Traffic_Simulator___Model.CellularTopologyObjects.CellularTopology, Microscopic_Traffic_Simulator___Model.TrafficObjects.Sensor, and Microscopic_Traffic_Simulator___Model.TrafficObjects.Generator.
|
get |
Check whether the simulation action generator has the pause scheduled.
Definition at line 28 of file ISimulationEventsGenerator.cs.
|
get |
Priority determining the rank of the events which have the same time.
Definition at line 33 of file ISimulationEventsGenerator.cs.