Documentation ¶
Overview ¶
Package dependencysolver implements a layer-based scheduling algorithm for parallel tasks with dependencies.
Given a list of entries (each with its own dependency list), it can sort the entries in layers of execution, where all entries in the same layer can be executed in parallel, and have no other dependency than the previous layer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasCircularDependency ¶
HasCircularDependency returns false if there are no cycles in the dependency graph
func LayeredTopologicalSort ¶
LayeredTopologicalSort returns a list of layers of entries, the entries within each layer can be executed in parallel
Types ¶
Click to show internal directories.
Click to hide internal directories.