Documentation
¶
Overview ¶
Package dag is used to verify and map out directed acyclic graph implementations. This helps us verify that user's task dependencies actually work as a DAG and avoid entering in any cycles.
https://bertptrs.nl/2022/06/23/deadlock-free-mutexes-and-directed-acyclic-graphs.html
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrEntityNotFound is returned when a certain entity could not be located. ErrEntityNotFound = errors.New("dag: entity not found") // ErrEntityExists is returned when a certain entity was located but not meant to be. ErrEntityExists = errors.New("dag: entity already exists") // ErrPreconditionFailure is returned when there was a validation error with the parameters passed. ErrPreconditionFailure = errors.New("dag: parameters did not pass validation") // ErrEdgeCreatesCycle is returned when the introduction of an edge would create a cycle. ErrEdgeCreatesCycle = errors.New("dag: edge would create a cycle") )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.