Class DataFlowEdge<TInstruction>
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
TInstructionThe 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
dependentDataFlowNode<TInstruction>The dependent node.
targetDataSource<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>