Table of Contents

Class DataFlowEdge<TInstruction>

Namespace
Echo.DataFlow
Assembly
Echo.DataFlow.dll

Represents an edge between two nodes in a data flow graph (DFG). The origin of the node represents the dependant, and the target of the node represents the dependency.

public class DataFlowEdge<TInstruction> : IEdge where TInstruction : notnull

Type Parameters

TInstruction

The type of instructions to store in each data flow node.

Inheritance
DataFlowEdge<TInstruction>
Implements
Inherited Members

Constructors

DataFlowEdge(DataFlowNode<TInstruction>, DataSource<TInstruction>)

Creates a new dependency edge between two nodes.

public DataFlowEdge(DataFlowNode<TInstruction> dependent, DataSource<TInstruction> target)

Parameters

dependent DataFlowNode<TInstruction>

The dependent node.

target DataSource<TInstruction>

The dependency node.

Properties

DataSource

Gets the data source this data flow edge points to.

public DataSource<TInstruction> DataSource { get; }

Property Value

DataSource<TInstruction>

Dependent

Gets node that depends on the data source.

public DataFlowNode<TInstruction> Dependent { get; }

Property Value

DataFlowNode<TInstruction>