Class TypedEdge<TVertex>
Edge implementation with a Type.
Inheritance
System.Object
QuikGraph.Edge<TVertex>
TypedEdge<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 SourceTypedEdge(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 |
|
System.ArgumentNullException |
|
Properties
| Improve this Doc View SourceType
Edge type.
Declaration
public EdgeTypes Type { get; }
Property Value
Type | Description |
---|---|
EdgeTypes |
Methods
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
QuikGraph.Edge<TVertex>.ToString()
Implements
QuikGraph.IEdge<TVertex>