Table of Contents

Class EdgeDescriptor<TEdgeLabel>

Namespace
Bonsai.Dag
Assembly
Bonsai.Core.dll

Represents a serializable descriptor of an edge connecting two nodes in a directed graph.

public class EdgeDescriptor<TEdgeLabel>

Type Parameters

TEdgeLabel

The type of the labels associated with graph edges.

Inheritance
EdgeDescriptor<TEdgeLabel>
Inherited Members

Constructors

EdgeDescriptor()

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

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.

Properties

From

Gets or sets the zero-based index of the node that is the source of the edge.

Label

Gets or sets the value of the edge label.

To

Gets or sets the zero-based index of the node that is the target of the edge.