Table of Contents

Constructor EdgeDescriptor

Namespace
Bonsai.Dag
Assembly
Bonsai.Core.dll

EdgeDescriptor()

Initializes a new instance of the EdgeDescriptor<TEdgeLabel> class.

public EdgeDescriptor()

EdgeDescriptor(int, int, TEdgeLabel)

Initializes a new instance of the EdgeDescriptor<TEdgeLabel> class with the specified indices for source and target nodes and a label value.

public EdgeDescriptor(int from, int to, TEdgeLabel label)

Parameters

from int

The zero-based index of the node that is the source of the edge.

to int

The zero-based index of the node that is the target of the edge.

label TEdgeLabel

The value of the edge label.