package
0.0.0-20241023150245-c8bbc672ef66
Repository: https://github.com/aclements/go-moremath.git
Documentation: pkg.go.dev
# Functions
Equal returns true if g1 and g2 have identical nodes and edges, including the IDs of all nodes.
MakeBiGraph constructs a BiGraph from what may be a unidirectional Graph.
SubgraphKeep returns a subgraph of g that keeps the given nodes and edges.
SubgraphRemove returns a subgraph of g that removes the given nodes and edges from g, as well as all edges incident to those nodes.
# Structs
Edge identifies an edge in a graph.
WeightedUnit wraps a graph as a weighted graph where all edges have weight 1.
# Type aliases
IntGraph is a basic Graph g where g[i] is the list of out-edge indexes of node i.