Class EdgePath<T>
Represents a path along a set of edges/vertices.
Inheritance
System.Object
EdgePath<T>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class EdgePath<T>
Type Parameters
T
|
Constructors
EdgePath(UInt32)
Creates a path source.
Declaration
public EdgePath(uint vertex = 4294967294U)
Parameters
System.UInt32
vertex
|
EdgePath(UInt32, T, EdgePath<T>)
Creates a path to the given vertex with the given weight.
Declaration
public EdgePath(uint vertex, T weight, EdgePath<T> from)
Parameters
System.UInt32
vertex
|
T
weight
|
EdgePath<T>
from
|
EdgePath(UInt32, T, Int64, EdgePath<T>)
Creates a path to the given vertex with the given weight along the given edge.
Declaration
public EdgePath(uint vertex, T weight, long edge, EdgePath<T> from)
Parameters
System.UInt32
vertex
|
T
weight
|
System.Int64
edge
|
EdgePath<T>
from
|
Properties
Edge
Gets the edge right before the vertex.
Declaration
public long Edge { get; set; }
Property Value
System.Int64
|
From
Vertex
Gets the vertex.
Declaration
public uint Vertex { get; set; }
Property Value
System.UInt32
|
Weight
Gets the weight at the vertex.
Declaration
public T Weight { get; set; }
Property Value
T
|
Methods
Equals(Object)
Returns true if the given object represents the same edge/vertex.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
|
Returns
System.Boolean
|
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Serves as a hashfunction for this type.
Declaration
public override int GetHashCode()
Returns
System.Int32
|
Overrides
System.Object.GetHashCode()
ToString()
Returns a description of this path.
Declaration
public override string ToString()
Returns
System.String
|
Overrides
System.Object.ToString()