The types of road present in the simulation.
These types serve a vehicle preference bias. The pedestrian type has the lowest preference bias (0) and the free way has the highest bias (1). Routing algorithms can use this information in their routing process.
Member Name | Description |
---|---|
Pedestrian | Type of road that doesn't allow vehicles. ( max 15 km/h) |
Street | Type of road that is usually found in a residential area with buildings on both sides of the road. ( max 30 ~ 50 km/h). |
Road | Type of road that is similar to a street with main distinction that the road can be on the main traffic route through the city ( 50 ~ 80 km/h). |
ArterialRoad | Main traffic artery through a city. This type of road usually has four lanes (two in each direction) and serves a main transportation route through the city ( 50 ~ 80 km/h). |
Highway | Traffic artery between cities, similar to the Arterial road with main difference found in the maximum speed allowed ( 80 ~ 100 km/h). |
Freeway | Main traffic artery between cities. This type of road usually has more than four lanes and can be distincted from a highway by the fact that entry and exit is restricted to on-ramps and off-ramps which are limited in quantity (100 ~ 120 km/h). |
Namespace: CBPRS.Infrastructure
Assembly: Infrastructure (in Infrastructure.dll)
CBPRS.Infrastructure Namespace