프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Type | PriorityType |
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
GetVehicle ( ushort vehicleId ) : |
||
getApproachingVehicles ( ) : VehiclePosition>.Dictionary |
||
getCars ( ) : VehiclePosition>.Dictionary |
||
getNumApproachingVehicles ( ) : int | ||
getNumCars ( ) : int |
public AddVehicle ( ushort vehicleId, |
||
vehicleId | ushort | |
carPos | ||
리턴 | 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 | |
리턴 | uint>.Dictionary |
public SegmentEnd ( ushort nodeId, ushort segmentId, PriorityType type ) : System | ||
nodeId | ushort | |
segmentId | ushort | |
type | PriorityType | |
리턴 | System |