Microscopic Traffic Simulator
Gap.cs
Go to the documentation of this file.
1 
2 namespace Microscopic_Traffic_Simulator___Model.CellularTopologyObjects
3 {
7  struct Gap
8  {
12  internal double Length;
13 
17  internal int FollowingCarAcceleration;
18 
23  internal Gap(double length)
24  {
25  Length = length;
26  FollowingCarAcceleration = 0;
27  }
28 
34  internal Gap(double length, int followingcarAcceleration)
35  {
36  Length = length;
37  FollowingCarAcceleration = followingcarAcceleration;
38  }
39  }
40 }
Struct containing information about gap.
Definition: Gap.cs:7