exec

package
v1.14.6 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exec

type Exec struct{}

type ExecEdge

type ExecEdge struct {
	From int
	To   int
	Info ExecEdgeInfo
}

type ExecEdgeInfo

type ExecEdgeInfo struct {
	IsInternal     bool // Internal & External
	ActionName     string
	ActionChannel  *chan messages.SAMessage // Channel
	Message        *messages.SAMessage      // Message
	ExternalAction func(*chan messages.SAMessage, *messages.SAMessage)
	InternalAction func(interface{}, []*interface{}, string, *messages.SAMessage, []*interface{}, *bool)
	Info           []*interface{}
}

type ExecGraph

type ExecGraph struct {
	NumNodes  int
	ExecEdges [][]ExecEdge
}

func NewExecGraph

func NewExecGraph(n int) *ExecGraph

func (*ExecGraph) AddEdge

func (g *ExecGraph) AddEdge(u, v int, a ExecEdgeInfo)

func (*ExecGraph) AdjacentEdges

func (g *ExecGraph) AdjacentEdges(u int) []ExecEdge

Jump to

Keyboard shortcuts

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