City Based Parking and Routing System API Documentation

CBPRS.Infrastructure Namespace

CBPRS.Infrastructure contains implements roads, lanes, intersections and simple vehicles thereby provinding a default platform for vehilce simulation.

Namespace hierarchy

Classes

Class Description
GEIntersection Generator intersection
Generator Class that generates vehicles.
InternalRoute Class that represents a possibility to cross an intersection.
Intersection Class that represents an intersection that supports a maximum of four connected roads.
Lane Driving lane for a road.
Obstacle Obstacle to generate delay on both lanes while executing a lane change between opposite direction lanes.
OffsetLane A driving lane that is offset of the beginning, end or both sides of the parent road.
PrecedenceIntersection Intersection that uses precedence rules to determine vehicle crossings.
Road Class representing a road with zero or more lanes leading to and from intersections.
RoadSystem The road system (facade) that maintains all object instances related to the road network.
Route A simple route class that encompasses a single route.
RouteStatistics Maintains a running average for a type of vehicle.
RouteTimeWriter Writes average route duration statistics to memory.
RouteWriter Class that writer vehicle route information to disk.
TrafficJam Traffic jam info maintainer for a road.
TrafficJamInfo Structure to store traffic jams.
TrafficJamReporter Singleton class that maintains a collection of all reported traffic jams.
TrafficLightCycle A tuple of green light start and end time and the routes that should be active in that period.
TrafficLightIntersection An intersection that determines precedence based on a traffic light table
Util Class containing static utility functions.
Vehicle Basic abstract class for vehicle implementations.

Interfaces

Interface Description
IGenerator Interface that contains the public methods for a generator object.
IIntersection Basic interface for all objects that represent a type of road intersection.
ILane Interface that contains the public methods for a lane object.
IRoad The basic road interface contract.
IRoute A route between two lanes that can be followed by a car.
ISideObject The basic side object.
IVehicle Defines the basic interface for a vehicle.

Enumerations

Enumeration Description
DirectionTypes The directions in which a vehicle can proceed its journey on the current lane
eRoadType The types of road present in the simulation.
RoadPosition Enumeration that signals the point at which the IRoad is connected to an IIntersection.
TailLight Enumeration of the possible states the turn indicator of car can have.
TrafficLight Enumeration of the different traffic light statuses.