math_functions

package
v6.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Reverse_topological_sort

func Reverse_topological_sort(graph map[string][]string) ([]string, error)

Reverse_topological_sort performs a deterministic topological sort and returns the reversed order. Useful for teardown operations or viewing leaf-to-root dependencies.

func Topological_sort

func Topological_sort(graph map[string][]string) ([]string, error)

Topological_sort performs a deterministic topological sort using Kahn's algorithm. Nodes with the same precedence are sorted alphabetically for consistent output.

Types

This section is empty.

Jump to

Keyboard shortcuts

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