Versions in this module Expand all Collapse all v0 v0.6.0 Jun 11, 2022 Changes in this version + const SetDelSize + func DEachEdge(g G, onEdge groph.VisitEdgeW[W]) error + func DEachIn(g G, to groph.VIdx, onSource groph.VisitVertex) error + func DEachLeaf(g G, onLeaf groph.VisitVertex) error + func DEachOut(g G, from groph.VIdx, onDest groph.VisitVertex) error + func DEachRoot(g G, onRoot groph.VisitVertex) error + func DInDegree(g G, v groph.VIdx) (d int) + func DLeafCount(g G) (res int) + func DOutDegree(g G, v groph.VIdx) (d int) + func DRootCount(g G) (res int) + func DSize(g G) (res int) + func TestDCleared(t *testing.T, g groph.RGraph[W], what string) + func TestUCleared(t *testing.T, g groph.RUndirected[W], what string) + func UDegree(g groph.RUndirected[W], v groph.VIdx) (d int) + func UEachAdjacent(g G, of groph.VIdx, onNeighbour groph.VisitVertex) error + func UEachEdge(g G, onEdge groph.VisitEdgeW[W]) error + func UEdge(g G, u, v groph.VIdx) W + func USetEdge(g G, u, v groph.VIdx, w W) + func USize(g G) (res int) + type SetDelTest struct + EqWeight func(a, b W) bool + LazySize bool + Probe W + func (tst SetDelTest[W]) Directed(t *testing.T, g groph.WGraph[W]) + func (tst SetDelTest[W]) Undirected(t *testing.T, g groph.WUndirected[W])