Свойство | Type | Description | |
---|---|---|---|
Type | PriorityType |
Méthode | Description | |
---|---|---|
AddVehicle ( ushort vehicleId, |
||
GetVehicleMetricGoingToSegment ( float minSpeed, ExtVehicleType vehicleTypes = null, ExtVehicleType separateVehicleTypes = ExtVehicleType.None, bool debug = false ) : uint>.Dictionary |
Calculates for each segment the number of cars going to this segment. We use integer arithmetic for better performance.
|
|
HasVehicle ( ushort vehicleId ) : bool | ||
RemoveAllCars ( ) : void | ||
RemoveVehicle ( ushort vehicleId ) : bool | ||
SegmentEnd ( ushort nodeId, ushort segmentId, PriorityType type ) : System |
Méthode | Description | |
---|---|---|
GetVehicle ( ushort vehicleId ) : |
||
getApproachingVehicles ( ) : VehiclePosition>.Dictionary |
||
getCars ( ) : VehiclePosition>.Dictionary |
||
getNumApproachingVehicles ( ) : int | ||
getNumCars ( ) : int |
public AddVehicle ( ushort vehicleId, |
||
vehicleId | ushort | |
carPos | ||
Résultat | void |
public GetVehicleMetricGoingToSegment ( float minSpeed, ExtVehicleType vehicleTypes = null, ExtVehicleType separateVehicleTypes = ExtVehicleType.None, bool debug = false ) : uint>.Dictionary |
||
minSpeed | float | |
vehicleTypes | ExtVehicleType | |
separateVehicleTypes | ExtVehicleType | |
debug | bool | |
Résultat | uint>.Dictionary |
public HasVehicle ( ushort vehicleId ) : bool | ||
vehicleId | ushort | |
Résultat | bool |
public RemoveVehicle ( ushort vehicleId ) : bool | ||
vehicleId | ushort | |
Résultat | bool |
public SegmentEnd ( ushort nodeId, ushort segmentId, PriorityType type ) : System | ||
nodeId | ushort | |
segmentId | ushort | |
type | PriorityType | |
Résultat | System |