Show / Hide Table of Contents

Class Edge<T>

Class representing an edge of a graph.

Inheritance
System.Object
Edge<T>
Implements
IEdge<T>
System.IEquatable<Edge<T>>
Namespace: Edgar.Graphs
Assembly: Edgar.dll
Syntax
public class Edge<T> : Object, IEdge<T>, IEquatable<Edge<T>>
Type Parameters
Name Description
T

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
public T From { get; }
Property Value
Type Description
T

To

Second vertex of the edge.

Declaration
public T To { get; }
Property Value
Type Description
T

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

IEdge<T>
System.IEquatable<>
Back to top Generated by DocFX