Documentation

Strata.DDM.Util.Graph.Tarjan

structure Strata.OutGraph (nodeCount : Nat) :
Instances For
    def Strata.instReprOutGraph.repr {nodeCount✝ : Nat} :
    OutGraph nodeCount✝NatStd.Format
    Equations
    Instances For
      instance Strata.instReprOutGraph {nodeCount✝ : Nat} :
      Repr (OutGraph nodeCount✝)
      Equations
      @[reducible, inline]
      Equations
      Instances For
        Equations
        Instances For
          def Strata.OutGraph.addEdge {n : Nat} (g : OutGraph n) (f t : Node n) :
          Equations
          Instances For
            def Strata.OutGraph.addEdge! {n : Nat} (g : OutGraph n) (f t : Nat) :
            Equations
            Instances For
              Equations
              Instances For
                def Strata.OutGraph.nodesOut {n : Nat} (g : OutGraph n) (node : Node n) :
                Equations
                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.
                  Instances For