@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[instance_reducible]
Equations
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[instance_reducible]
Equations
Equations
Instances For
Allocate the canonical store once, before the search.
Equations
- G.blank = { offsets := Array.replicate (n + 1) 0, neighbors := Array.replicate G.neighbors.size 0 }
Instances For
def
Hex.GraphIso.Nauty.Sparse.updatecan
{n : Nat}
(g : Graph n)
(canong : Rows n)
(lab : Array Nat)
(samerows : Nat)
:
Rows n
updatecan_sg: retain the shared prefix and rewrite the remaining
contiguous rows using inverse labels. No row sorting occurs in the search.
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Hex.GraphIso.Nauty.Sparse.testcanlab
{n : Nat}
(g : Graph n)
(canong : Rows n)
(lab : Array Nat)
:
testcanlab_sg: smaller degree is preferred, then adjacency at the
first differing vertex. Return the comparison and the equal row prefix.
Equations
- One or more equations did not get rendered due to their size.
Instances For
distvals: breadth-first distances, with n for unreachable vertices.
The queue stores each vertex once, so n iterations suffice.
Equations
- One or more equations did not get rendered due to their size.