Table of Contents

Constructor Edge

Namespace
Bonsai.Dag
Assembly
Bonsai.Core.dll

Edge(Node<TNodeValue, TEdgeLabel>, TEdgeLabel)

Initializes a new instance of the Edge<TNodeValue, TEdgeLabel> class with the specified target node and label.

public Edge(Node<TNodeValue, TEdgeLabel> target, TEdgeLabel label)

Parameters

target Node<TNodeValue, TEdgeLabel>

The target node of the edge.

label TEdgeLabel

The label value of the edge.