Show / Hide Table of Contents

Class TypedEdge<TVertex>

Edge implementation with a Type.

Inheritance
System.Object
QuikGraph.Edge<TVertex>
TypedEdge<TVertex>
Implements
ITypedEdge<TVertex>
QuikGraph.IEdge<TVertex>
Inherited Members
QuikGraph.Edge<TVertex>.Source
QuikGraph.Edge<TVertex>.Target
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: GraphShape
Assembly: GraphShape.dll
Syntax
[Serializable]
public class TypedEdge<TVertex> : Edge<TVertex>, ITypedEdge<TVertex>, IEdge<TVertex>
Type Parameters
Name Description
TVertex

Vertex type.

Constructors

| Improve this Doc View Source

TypedEdge(TVertex, TVertex, EdgeTypes)

Initializes a new instance of the TypedEdge<TVertex> class.

Declaration
public TypedEdge(TVertex source, TVertex target, EdgeTypes type)
Parameters
Type Name Description
TVertex source

Source vertex.

TVertex target

Target vertex.

EdgeTypes type

Edge type.

Exceptions
Type Condition
System.ArgumentNullException

source is null.

System.ArgumentNullException

target is null.

Properties

| Improve this Doc View Source

Type

Edge type.

Declaration
public EdgeTypes Type { get; }
Property Value
Type Description
EdgeTypes

Methods

| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
QuikGraph.Edge<TVertex>.ToString()

Implements

ITypedEdge<TVertex>
QuikGraph.IEdge<TVertex>

Extension Methods

GraphHelpers.GetDistances<TVertex, TEdge, TGraph>(TGraph)
GraphHelpers.GetDiameter<TVertex, TEdge, TGraph>(TGraph)
GraphHelpers.GetDiameter<TVertex, TEdge, TGraph>(TGraph, out Double[,])
  • Improve this Doc
  • View Source
In This Article
Back to top GraphShape