Show / Hide Table of Contents

Struct YenShortestPathsAlgorithm<TVertex>.SortedPath

Class representing a sorted path.

Implements
System.Collections.Generic.IEnumerable<EquatableTaggedEdge<TVertex, System.Double>>
System.Collections.IEnumerable
System.IEquatable<YenShortestPathsAlgorithm.SortedPath<>>
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 Source

SortedPath(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 Source

Count

Number of edges in this path.

Declaration
public readonly int Count { get; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

Equals(YenShortestPathsAlgorithm<TVertex>.SortedPath)

Declaration
public bool Equals(YenShortestPathsAlgorithm<TVertex>.SortedPath other)
Parameters
Type Name Description
YenShortestPathsAlgorithm.SortedPath<> other
Returns
Type Description
System.Boolean
| Improve this Doc View Source

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>>
| Improve this Doc View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
Overrides
System.ValueType.GetHashCode()

Explicit Interface Implementations

| Improve this Doc View Source

IEnumerable.GetEnumerator()

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type Description
System.Collections.IEnumerator

Implements

System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
System.IEquatable<T>

Extension Methods

GraphMLExtensions.SerializeToGraphML<TVertex, TEdge, TGraph>(TGraph, String)
GraphMLExtensions.SerializeToGraphML<TVertex, TEdge, TGraph>(TGraph, String, VertexIdentity<TVertex>, EdgeIdentity<TVertex, TEdge>)
GraphMLExtensions.SerializeToGraphML<TVertex, TEdge, TGraph>(TGraph, XmlWriter)
GraphMLExtensions.SerializeToGraphML<TVertex, TEdge, TGraph>(TGraph, XmlWriter, VertexIdentity<TVertex>, EdgeIdentity<TVertex, TEdge>)
GraphMLExtensions.DeserializeFromGraphML<TVertex, TEdge, TGraph>(TGraph, XmlReader, IdentifiableVertexFactory<TVertex>, IdentifiableEdgeFactory<TVertex, TEdge>)
GraphMLExtensions.DeserializeFromGraphML<TVertex, TEdge, TGraph>(TGraph, TextReader, IdentifiableVertexFactory<TVertex>, IdentifiableEdgeFactory<TVertex, TEdge>)
GraphMLExtensions.DeserializeFromGraphML<TVertex, TEdge, TGraph>(TGraph, String, IdentifiableVertexFactory<TVertex>, IdentifiableEdgeFactory<TVertex, TEdge>)
GraphMLExtensions.DeserializeAndValidateFromGraphML<TVertex, TEdge, TGraph>(TGraph, TextReader, IdentifiableVertexFactory<TVertex>, IdentifiableEdgeFactory<TVertex, TEdge>)
SerializationExtensions.SerializeToXml<TVertex, TEdge, TGraph>(TGraph, XmlWriter, VertexIdentity<TVertex>, EdgeIdentity<TVertex, TEdge>, String, String, String, String)
SerializationExtensions.SerializeToXml<TVertex, TEdge, TGraph>(TGraph, XmlWriter, VertexIdentity<TVertex>, EdgeIdentity<TVertex, TEdge>, String, String, String, String, Action<XmlWriter, TGraph>, Action<XmlWriter, TVertex>, Action<XmlWriter, TEdge>)
EdgeExtensions.IsPath<TVertex, TEdge>(IEnumerable<TEdge>)
EdgeExtensions.HasCycles<TVertex, TEdge>(IEnumerable<TEdge>)
EdgeExtensions.IsPathWithoutCycles<TVertex, TEdge>(IEnumerable<TEdge>)
GraphExtensions.ToDelegateVertexAndEdgeListGraph<TVertex, TEdge>(IEnumerable<TVertex>, TryFunc<TVertex, IEnumerable<TEdge>>)
GraphExtensions.ToDelegateVertexAndEdgeListGraph<TVertex, TEdge>(IEnumerable<TVertex>, Func<TVertex, IEnumerable<TEdge>>)
GraphExtensions.ToDelegateUndirectedGraph<TVertex, TEdge>(IEnumerable<TVertex>, TryFunc<TVertex, IEnumerable<TEdge>>)
GraphExtensions.ToDelegateUndirectedGraph<TVertex, TEdge>(IEnumerable<TVertex>, Func<TVertex, IEnumerable<TEdge>>)
GraphExtensions.ToAdjacencyGraph<TVertex, TEdge>(IEnumerable<TEdge>, Boolean)
GraphExtensions.ToAdjacencyGraph<TVertex, TEdge>(IEnumerable<TVertex>, Func<TVertex, IEnumerable<TEdge>>, Boolean)
GraphExtensions.ToBidirectionalGraph<TVertex, TEdge>(IEnumerable<TEdge>, Boolean)
GraphExtensions.ToBidirectionalGraph<TVertex, TEdge>(IEnumerable<TVertex>, Func<TVertex, IEnumerable<TEdge>>, Boolean)
GraphExtensions.ToUndirectedGraph<TVertex, TEdge>(IEnumerable<TEdge>, Boolean)
AlgorithmExtensions.IsDirectedAcyclicGraph<TVertex, TEdge>(IEnumerable<TEdge>)
AlgorithmExtensions.IsUndirectedAcyclicGraph<TVertex, TEdge>(IEnumerable<TEdge>)
  • Improve this Doc
  • View Source
In This Article
Back to top QuikGraph