Class FifoIntersectionHandle<TSteeringCapable, TPassengerCapable, TSteeringHandle, TPassengerHandle>
First come first serve principle for intersection right of way.
Inheritance
System.Object
AbstractIntersectionHandle<TSteeringCapable, TPassengerCapable, TSteeringHandle, TPassengerHandle>
FifoIntersectionHandle<TSteeringCapable, TPassengerCapable, TSteeringHandle, TPassengerHandle>
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SOHDomain.Steering.Handles.Intersection
Assembly: SOHDomain.dll
Syntax
public class FifoIntersectionHandle<TSteeringCapable, TPassengerCapable, TSteeringHandle, TPassengerHandle> : AbstractIntersectionHandle<TSteeringCapable, TPassengerCapable, TSteeringHandle, TPassengerHandle>, IIntersectionTrafficCode where TSteeringCapable : ISteeringCapable where TPassengerCapable : IPassengerCapable where TSteeringHandle : ISteeringHandle where TPassengerHandle : IPassengerHandle
Type Parameters
| Name | Description |
|---|---|
| TSteeringCapable | |
| TPassengerCapable | |
| TSteeringHandle | |
| TPassengerHandle |
Constructors
| Improve this Doc View SourceFifoIntersectionHandle(Vehicle<TSteeringCapable, TPassengerCapable, TSteeringHandle, TPassengerHandle>, IVehicleAccelerator)
First come first serve principle for intersection right of way.
Declaration
public FifoIntersectionHandle(Vehicle<TSteeringCapable, TPassengerCapable, TSteeringHandle, TPassengerHandle> vehicle, IVehicleAccelerator vehicleAccelerator)
Parameters
| Type | Name | Description |
|---|---|---|
| Vehicle<TSteeringCapable, TPassengerCapable, TSteeringHandle, TPassengerHandle> | vehicle | |
| IVehicleAccelerator | vehicleAccelerator |
Methods
| Improve this Doc View SourceEvaluate(EdgeExploreResult, DirectionType)
First come first serve principle for intersection right of way.
Declaration
public override double Evaluate(EdgeExploreResult edgeExploreResult, DirectionType vehicleDirection)
Parameters
| Type | Name | Description |
|---|---|---|
| EdgeExploreResult | edgeExploreResult | |
| DirectionType | vehicleDirection |
Returns
| Type | Description |
|---|---|
| System.Double |
Overrides
SOHDomain.Steering.Handles.Intersection.AbstractIntersectionHandle<TSteeringCapable, TPassengerCapable, TSteeringHandle, TPassengerHandle>.Evaluate(Mars.Interfaces.Environments.EdgeExploreResult, Mars.Interfaces.Environments.DirectionType)