Table of Contents

Class TaggedEdge<TVertex, TTag>

Namespace
Italbytz.Graph
Assembly
Italbytz.Graph.dll
public class TaggedEdge<TVertex, TTag> : ITaggedEdge<TVertex, TTag>, IEdge<TVertex>, ITagged<TTag>

Type Parameters

TVertex
TTag
Inheritance
TaggedEdge<TVertex, TTag>
Implements
ITaggedEdge<TVertex, TTag>
IEdge<TVertex>
ITagged<TTag>
Inherited Members

Constructors

TaggedEdge()

public TaggedEdge()

TaggedEdge(TVertex, TVertex, TTag)

public TaggedEdge(TVertex source, TVertex target, TTag tag)

Parameters

source TVertex
target TVertex
tag TTag

Properties

Source

public TVertex Source { get; set; }

Property Value

TVertex

Tag

Gets or sets the tag.

public TTag Tag { get; set; }

Property Value

TTag

Target

public TVertex Target { get; set; }

Property Value

TVertex

Methods

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.