Class EquatableTaggedEdge<TVertex, TTag>
The default implementation of an IEdge<TVertex> that supports tagging and is equatable (directed edge).
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: QuikGraph
Assembly: QuikGraph.dll
Syntax
[Serializable]
public class EquatableTaggedEdge<TVertex, TTag> : EquatableEdge<TVertex>, IEdge<TVertex>, IEquatable<EquatableEdge<TVertex>>, ITagged<TTag>
Type Parameters
Name | Description |
---|---|
TVertex | Vertex type. |
TTag | Tag type. |
Constructors
| Improve this Doc View SourceEquatableTaggedEdge(TVertex, TVertex, TTag)
Initializes a new instance of the EquatableTaggedEdge<TVertex, TTag> class.
Declaration
public EquatableTaggedEdge(TVertex source, TVertex target, TTag tag)
Parameters
Type | Name | Description |
---|---|---|
TVertex | source | The source vertex. |
TVertex | target | The target vertex. |
TTag | tag | Edge tag. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ArgumentNullException |
|
Properties
| Improve this Doc View SourceTag
Gets or sets the tag.
Declaration
public TTag Tag { get; set; }
Property Value
Type | Description |
---|---|
TTag |
Methods
| Improve this Doc View SourceOnTagChanged(EventArgs)
Event invoker for TagChanged event.
Declaration
protected virtual void OnTagChanged(EventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | args | Event arguments. |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
QuikGraph.Edge<TVertex>.ToString()
Events
| Improve this Doc View SourceTagChanged
Fired when the tag is changed.
Declaration
public event EventHandler TagChanged
Event Type
Type | Description |
---|---|
System.EventHandler |
Implements
System.IEquatable<T>