Click or drag to resize
EdgeTVertex Class
Class which represents an edge in a graph. It can be used for directed and non-directed edges. A directed edge from A to B means A has a connection with B but B doesn't have a connection with A.
Inheritance Hierarchy

Namespace:  SD.Tools.Algorithmia.Graphs
Assembly:  SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.3.0.0 (1.3.17.0314)
Syntax
public class Edge<TVertex> : IEdge<TVertex>

Type Parameters

TVertex
The type of the vertices in this edge.

The EdgeTVertex type exposes the following members.

Constructors
  NameDescription
Public methodEdgeTVertex(TVertex, TVertex)
Initializes a new instance of the EdgeTVertex class.
Public methodEdgeTVertex(TVertex, TVertex, Boolean)
Initializes a new instance of the EdgeTVertex class.
Top
Properties
  NameDescription
Public propertyEndVertex
Gets the end vertex of the edge.
Public propertyIsDirected
Gets a value indicating whether this edge is directed. If true, the edge is directed from startVertex to endVertex and is seen as an edge only between startVertex and endVertex, not between endVertex and startVertex. If false, this edge isn't considered a directed edge and is seen as an edge between startVertex and endVertex and also between endVertex and startVertex.
Public propertyStartVertex
Gets the start vertex of the edge.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also