Class EdgeExploreResult
Inheritance
System.Object
EdgeExploreResult
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)
Namespace: Mars.Interfaces.Environments
Assembly: Mars.Interfaces.dll
Syntax
public sealed class EdgeExploreResult
Constructors
| Improve this Doc View SourceEdgeExploreResult(ISpatialEdge, IDictionary<Int32, LaneExploreResult>, Double, TrafficLightPhase)
Declaration
public EdgeExploreResult(ISpatialEdge edge, IDictionary<int, LaneExploreResult> laneExplores, double intersectionDistance, TrafficLightPhase lightPhase = TrafficLightPhase.None)
Parameters
| Type | Name | Description |
|---|---|---|
| ISpatialEdge | edge | |
| System.Collections.Generic.IDictionary<System.Int32, LaneExploreResult> | laneExplores | |
| System.Double | intersectionDistance | |
| TrafficLightPhase | lightPhase |
Properties
| Improve this Doc View SourceEdge
Gets the parent reference to the
ISpatialEdge of this exploration
Declaration
public ISpatialEdge Edge { get; }
Property Value
| Type | Description |
|---|---|
| ISpatialEdge |
IntersectionDistance
Gets the distance to the next intersection ahead
Declaration
public double IntersectionDistance { get; }
Property Value
| Type | Description |
|---|---|
| System.Double |
LaneExplores
Gets all explored
LaneObstacles separated by each individual lane index
Declaration
public IDictionary<int, LaneExploreResult> LaneExplores { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IDictionary<System.Int32, LaneExploreResult> |
LightPhase
Indicates the actual light phase when an intersection has been crossed by the exploration.
Declaration
public TrafficLightPhase LightPhase { get; }
Property Value
| Type | Description |
|---|---|
| TrafficLightPhase |
Methods
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String |
Overrides
System.Object.ToString()