Class representing sensor.
More...
|
| Sensor (string pathToInputRecords, string pathToOutputRecords) |
| Initialize sensor with paths to files with input and output records. More...
|
|
override TimeSpan | GetTimeToNextAction (Random random) |
| Returns time to generation of new ticket by getting time to the next input record. More...
|
|
override void | PerformAction (Random random) |
| Generate new ticket from input records. More...
|
|
|
void | GenerateTicket (int initialSpeed) |
| Generate new ticket. In case that current number of tickets is zero add generator to set of generators with tickets. More...
|
|
bool | IsPauseScheduled [get] |
| Checks whether the generator has the pause scheduled. Not used so returns always false. More...
|
|
int | Priority [get] |
| Generator priority as the simulation action generator. More...
|
|
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...
|
|
Class representing sensor.
Definition at line 14 of file Sensor.cs.
Microscopic_Traffic_Simulator___Model.TrafficObjects.Sensor.Sensor |
( |
string |
pathToInputRecords, |
|
|
string |
pathToOutputRecords |
|
) |
| |
Initialize sensor with paths to files with input and output records.
- Parameters
-
pathToInputRecords | Path to file with input records. |
pathToOutputRecords | Path to file with output records. |
Definition at line 65 of file Sensor.cs.
override TimeSpan Microscopic_Traffic_Simulator___Model.TrafficObjects.Sensor.GetTimeToNextAction |
( |
Random |
random | ) |
|
|
virtual |
override void Microscopic_Traffic_Simulator___Model.TrafficObjects.Sensor.PerformAction |
( |
Random |
random | ) |
|
|
virtual |
Reference to simulation parameters.
Definition at line 51 of file Sensor.cs.
The documentation for this class was generated from the following file:
- Microscopic Traffic Simulator - Model/TrafficObjects/Sensor.cs