Documentation

Atlas.CombinatorialOptimization.code.Flow.FlowCutBound

structure NetworkFlow.FlowNetwork (V : Type u_2) [Fintype V] [DecidableEq V] :
Type u_2
  • cap : VV
  • s : V
  • t : V
  • s_ne_t : self.s self.t
  • cap_nonneg (u v : V) : 0 self.cap u v
Instances For
    structure NetworkFlow.STFlow {V : Type u_1} [Fintype V] [DecidableEq V] (N : FlowNetwork V) :
    Type u_1
    • f : VV
    • flow_nonneg (u v : V) : 0 self.f u v
    • flow_cap (u v : V) : self.f u v N.cap u v
    • conservation (v : V) : v N.sv N.tu : V, self.f u v = u : V, self.f v u
    Instances For
      noncomputable def NetworkFlow.flowValue {V : Type u_1} [Fintype V] [DecidableEq V] (N : FlowNetwork V) (fl : STFlow N) :
      Instances For
        structure NetworkFlow.STCut {V : Type u_1} [Fintype V] [DecidableEq V] (N : FlowNetwork V) :
        Type u_1
        Instances For
          noncomputable def NetworkFlow.cutCapacity {V : Type u_1} [Fintype V] [DecidableEq V] (N : FlowNetwork V) (C : STCut N) :
          Instances For
            theorem NetworkFlow.flow_le_cut {V : Type u_1} [Fintype V] [DecidableEq V] (N : FlowNetwork V) (fl : STFlow N) (C : STCut N) :