go.bigb.es/auxilia
Index
Functions
func ChronologicalSort[K comparable, T any](g graph.Graph[K, T]) ([]K, error)
func RecursiveDFSAfter[K comparable, T any](g graph.Graph[K, T], start K, visit func(K)) error
func Roots[K comparable, T any](g graph.Graph[K, T]) []K
Roots returns a list of all vertices that have no incoming edges.