Struct YenShortestPathsAlgorithm<TVertex>.SortedPath
Class representing a sorted path.
Inherited Members
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: QuikGraph.Algorithms.ShortestPath
Assembly: QuikGraph.dll
Syntax
public struct SortedPath : IEnumerable<EquatableTaggedEdge<TVertex, double>>, IEnumerable, IEquatable<YenShortestPathsAlgorithm<TVertex>.SortedPath>
Constructors
| Improve this Doc View SourceSortedPath(IEnumerable<EquatableTaggedEdge<TVertex, Double>>)
Initializes a new instance of the YenShortestPathsAlgorithm<TVertex>.SortedPath struct.
Declaration
public SortedPath(IEnumerable<EquatableTaggedEdge<TVertex, double>> edges)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<EquatableTaggedEdge<TVertex, System.Double>> | edges |
Properties
| Improve this Doc View SourceCount
Number of edges in this path.
Declaration
public readonly int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceEquals(YenShortestPathsAlgorithm<TVertex>.SortedPath)
Declaration
public bool Equals(YenShortestPathsAlgorithm<TVertex>.SortedPath other)
Parameters
Type | Name | Description |
---|---|---|
YenShortestPathsAlgorithm.SortedPath<> | other |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.ValueType.Equals(System.Object)
|
Improve this Doc
View Source
GetEnumerator()
Declaration
public IEnumerator<EquatableTaggedEdge<TVertex, double>> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<EquatableTaggedEdge<TVertex, System.Double>> |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.ValueType.GetHashCode()
Explicit Interface Implementations
| Improve this Doc View SourceIEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
System.IEquatable<T>