[This is preliminary documentation and is subject to change.]
Represents an edge in a graph as a pair of Nodes.
Namespace: Microsoft.Research.Naiad.Frameworks.GraphLINQ
Assembly: Microsoft.Research.Naiad.GraphLINQ (in Microsoft.Research.Naiad.GraphLINQ.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax
C#
public struct Edge : IEquatable<Edge>
The Edge type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | Edge |
Constructs an edge from two Node objects.
|
Methods
Name | Description | |
---|---|---|
![]() | Equals |
Returns true if this edge and the other node have the same source and target.
|
![]() | GetHashCode |
Returns the hash code for this edge.
(Overrides ValueTypeGetHashCode.) |
![]() | ToString |
Returns a string representation of this edge.
(Overrides ValueTypeToString.) |
Fields
Name | Description | |
---|---|---|
![]() | source |
The source Node of this edge.
|
![]() | target |
The target Node of the edge.
|
See Also