Equations
- Strata.instInhabitedOutGraph.default = { edges := default }
Instances For
Equations
Equations
- Strata.instReprOutGraph.repr x✝ prec✝ = Std.Format.bracket "{ " (Std.Format.nil ++ Std.Format.text "edges" ++ Std.Format.text " := " ++ (Std.Format.nest 9 (repr x✝.edges)).group) " }"
Instances For
Equations
- Strata.instReprOutGraph = { reprPrec := Strata.instReprOutGraph.repr }
Equations
- Strata.OutGraph.empty n = { edges := Vector.replicate n ∅ }
Instances For
Equations
- Strata.OutGraph.ofEdges! n edges = List.foldl (fun (g : Strata.OutGraph n) (x : Nat × Nat) => match x with | (f, t) => g.addEdge! f t) (Strata.OutGraph.empty n) edges
Instances For
This run Tarjan's algorithm to compute strongly connected components.
Results are ordered so that nodes in the group are in the same element if they are in the same strongly connected component and a node only appears in an array after all the nodes that have paths to it.
Equations
- One or more equations did not get rendered due to their size.