Documentation

Atlas.CombinatorialOptimization.code.Flow.ResidualGraph

noncomputable def NetworkFlow.resCap {V : Type u_1} [Fintype V] [DecidableEq V] (N : FlowNetwork V) (fl : STFlow N) (u v : V) :
Instances For
    def NetworkFlow.resAdj {V : Type u_1} [Fintype V] [DecidableEq V] (N : FlowNetwork V) (fl : STFlow N) (u v : V) :
    Instances For
      theorem NetworkFlow.resCap_nonneg {V : Type u_1} [Fintype V] [DecidableEq V] (N : FlowNetwork V) (fl : STFlow N) (u v : V) :
      0 resCap N fl u v
      theorem NetworkFlow.resAdj_iff {V : Type u_1} [Fintype V] [DecidableEq V] (N : FlowNetwork V) (fl : STFlow N) (u v : V) :
      resAdj N fl u v N.cap u v - fl.f u v > 0 fl.f v u > 0
      def NetworkFlow.IsDirectedPath {V : Type u_1} (adj : VVProp) (s t : V) (p : List V) :
      Instances For
        Instances For
          def NetworkFlow.IsAugmentingPath {V : Type u_1} [Fintype V] [DecidableEq V] (N : FlowNetwork V) (fl : STFlow N) (p : List V) :
          Instances For
            noncomputable def NetworkFlow.pathBottleneck {V : Type u_1} [Fintype V] [DecidableEq V] (N : FlowNetwork V) (fl : STFlow N) (p : List V) (hp : p.length 2) :
            Instances For