Class Edge<T>
Class representing an edge of a graph.
Inheritance
System.Object
Edge<T>
Implements
System.IEquatable<
Edge<T>>
Assembly: Edgar.dll
Syntax
public class Edge<T> : Object, IEdge<T>, IEquatable<Edge<T>>
Type Parameters
Constructors
Edge(T, T)
Declaration
public Edge(T from, T to)
Parameters
Type |
Name |
Description |
T |
from |
|
T |
to |
|
Properties
From
First vertex of the edge.
Declaration
Property Value
To
Second vertex of the edge.
Declaration
Property Value
Methods
Equals(Edge<T>)
Declaration
public bool Equals(Edge<T> other)
Parameters
Type |
Name |
Description |
Edge<T> |
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 |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Implements
System.IEquatable<>