Class RouteStop
Represents a multimodal routing stop within the MultimodalRoute path.
This contains information about the route and its modal type.
Inheritance
System.Object
RouteStop
Implements
System.IEquatable<RouteStop>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mars.Interfaces.Environments
Assembly: Mars.Interfaces.dll
Syntax
public class RouteStop : IEquatable<RouteStop>
Constructors
| Improve this Doc View SourceRouteStop(Route, ModalChoice)
Represents a multimodal routing stop within the MultimodalRoute path.
This contains information about the route and its modal type.
Declaration
public RouteStop(Route route, ModalChoice modalChoice)
Parameters
Type | Name | Description |
---|---|---|
Route | route | |
ModalChoice | modalChoice |
Properties
| Improve this Doc View SourceItem[Int32]
Gets the edge stop at the specified index.
Declaration
public EdgeStop this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type | Description |
---|---|
EdgeStop |
ModalChoice
Gets the modal type for that the route is intended
Declaration
public ModalChoice ModalChoice { get; }
Property Value
Type | Description |
---|---|
ModalChoice |
Route
Gets the reference to current underlying route in the ISpatialGraphEnvironment
Declaration
public Route Route { get; }
Property Value
Type | Description |
---|---|
Route |
Methods
| Improve this Doc View SourceEquals(RouteStop)
Represents a multimodal routing stop within the MultimodalRoute path.
This contains information about the route and its modal type.
Declaration
public bool Equals(RouteStop other)
Parameters
Type | Name | Description |
---|---|---|
RouteStop | other |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(Object)
Represents a multimodal routing stop within the MultimodalRoute path.
This contains information about the route and its modal type.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Represents a multimodal routing stop within the MultimodalRoute path.
This contains information about the route and its modal type.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
Implements
System.IEquatable<T>