dag

package
v0.0.0-...-c510420 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package dag helps create a directed asyclic graph(DAG) of the operands in an operator based on the relationship between the operands. It helps order the execution sequence of the operands. Since the DAG doesn't change usually, it is usually created when the operator initializes and the same graph is reused.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OperandDAG

type OperandDAG struct {
	*dag.DAG
}

OperandDAG is a directed acyclic graph representation of the opereand dependencies. This is used to resolve the dependencies of the operands on each other and find an optimal execution path.

func NewOperandDAG

func NewOperandDAG(operands []operand.Operand) (*OperandDAG, error)

func (*OperandDAG) Order

func (od *OperandDAG) Order() (operand.OperandOrder, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL