package
0.0.0-20241023150245-c8bbc672ef66
Repository: https://github.com/aclements/go-moremath.git
Documentation: pkg.go.dev
# Functions
Dom computes the dominator tree from the immediate dominators (as computed by IDom).
DomFrontier returns the dominance frontier of each node in g.
IDom returns the immediate dominator of each node of g.
NewNodeMarks returns a node mark set with no marks set.
PostOrder returns the nodes of g visited in post-order.
PreOrder returns the nodes of g visited in pre-order.
Reverse reverses xs in place and returns the slice.
SCC computes the strongly-connected components of graph g.
SimplifyMulti simplifies a multigraph to a weighted simple graph.
# Constants
SCCEdges instructs SCC to record edges between components.
SCCSubnodeComponent instructs SCC to record a mapping from subnode to component ID containing that subnode.
# Type aliases
SCCFlags is a set of optional analyses to perform when constructing strongly-connected components.