![]() ![]() | Gets or sets the random braking probability. |
![]() ![]() | Gets or sets the critical zone start position. |
![]() ![]() | Get or sets the probability that a vehicle will automatically change from left to right. |
![]() ![]() | Gets or sets the precritical zone starting position. |
![]() ![]() | Gets or sets the v Offset that determine the flow on the passing lane. |
![]() ![]() | The length of the Car in cells. |
![]() ![]() | The maximum speed in cells this car is able to travel. |
![]() ![]() | Start of the critical zone, vehicles within this zone must change lanes if theirs is not the correct one. |
![]() ![]() | Start of the pre-critical zone, vehicle in this zone may only change lanes if their is correct for the turn they need to make. |
![]() ![]() | The probability that a driver will slow his car down more than is needed. |
![]() ![]() | Probability of a left to right change. |
![]() ![]() | Randomizer for the Nagel-Schrekenberg algorithm. |
![]() ![]() | Offset variable that allows one to control the flow and density on the passing lane. |
![]() |
Constructor |
![]() | Gets the position directly behind the vehicle. |
![]() | Gets the vehicle color |
![]() | Gets the id of the vehicle. |
![]() | Gets a boolean indicating if the car is braking. |
![]() | The Lane the vehicle is currently driving on. |
![]() | Gets the length of the vehicle in cells. |
![]() | The maximum speed at which this car can travel. |
![]() | Gets or sets a boolean that indicates that the vehicle must change lanes to reach its destination. |
![]() | The cell the vehicle is currently occupying on the Lane. |
![]() | Gets or sets the route the vehicle is currently following. |
![]() | The speed at which the vehicle is currently traveling. |
![]() | Gets the current status of the turn signal of the vehicle |
![]() | Calculates the backward gap between the current and the specified vehicle. |
![]() | Determines if a car want to change to left or right lane. |
![]() | Executes the actual lane changing procedure. lane change. |
![]() | Attempts a lane change from current lane to the lane on the left. |
![]() | Attempts a lane change from current lane to the lane on the right. |
![]() | Allows vehicles to change lanes that have entered the critical zone. |
![]() | Determines whether the specified Object is equal to the current Object. |
![]() | Calculates the forward gap between the current and specified vehicle. |
![]() | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. |
![]() | Gets the Type of the current instance. |
![]() | Initialize the current route for the vehicle depending on the algorithm used. |
![]() | Moves the current vehicle to a new position. |
![]() | Allows the vehicle to change lanes before entering the critical zone. |
![]() | Resets the vehicle to is post constructor state. |
![]() | Resolves a deadlock situation where two vehicles want to change to each others lane and are stopped in the critical zone. |
![]() | Returns a String that represents the current Object. |
![]() | Updates the vehicles routing information. |
![]() | Indicates if the vehicle is braking. |
![]() | The Id number of the vehicle |
![]() | The Lane on which the vechicle is currently driving. |
![]() | Boolean indicating that the vehicle must change lanes before proceeding (Deadlock) detection. |
![]() | The position the vehicle is currently at. |
![]() | The Route the vehicle is currently following. |
![]() | The speed (in cells) at which the vehicle is currently moving. |
![]() | The taillight status of the vehicle. |
![]() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
![]() | Creates a shallow copy of the current Object. |
![]() | Moves The vehicle towards forward on the current lane. |
![]() | Sets the taillight of the vehicle based on the route. |
Vehicle Class | CBPRS.Infrastructure Namespace