There is an algorithm which solves incremental max flow whp in amortized time per update, against adaptive adversaries.
Input: Vertex set , two vertices , parameter .
Updates: A sequence of edge insertions, each with a capacity .
Output: Maintain a -apx maximum flow through the updates.
There is a randomized algorithm for incremental thresholded -norm flow problem, when given an initial flow and inputs bounded by in fixed-point arithmetic (what is this?), runs in time .
Input: An -norm flow instance with , threshold , parameter .
Updates: Edge insertions (with corresponding )
Output: Either certify correctly that , or return a feasible flow with .
where the -norm flow problem is
Input: Undirected graph , edge weights , demand vector .
Output: minimize over all flows .
For any and , energy drops by at least the residual when adding circulation
and there is some amount of the circulation that can be added, where the energy doesn’t drop by too much
for some .
Certificate : Fix any threshold . If there exists a flow such that for all circulations , , then the -norm flow instance satisfies .
Improvement : For any flow and any circulation such that ,
There is an algorithm for solving the -apx residual problem.
Input: an -norm flow instance , a feasible flow for this instance, a threshold .
Definition: the residual threshold is , and the residual problem is
Output: either
Certificate : for all circulations , .
Improvement : return a circulation such that
where .
Certificate : Fix any and as in the residual problem. If no circulation satisfies
then every circulation must have .
Improvement : Given any and an incremental -apx residual solution for , if there is a circulation with
then for the circulation ,
There is a randomized algorithm for the incremental -apx residual problem that runs in time and succeeds with high probability against an adaptive adversary.
Input: Incremental graph with weights and a parameter .
Output: Either
certify that there is no circulation such that and , or
output a circulation such that and .
Initially, and .
At any iteration , .
At any iteration , .
Improvement : When Algorithm 2 returns , we have
Therefore, we have
Certificate : At any iteration , if there is no circulation that satisfies
then there is no circulation such that and .
There exists such that there exists a randomized algorithm that maintains a collection of spanning trees and solves the -apx monotone min ratio cycle problem in time, where is the number of updates.
Input: Target ratio , graph with edge gradients and lengths
Updates: Edge insertions, length increases
Ratio of a circulation: , optimal ratio over all circulations in current graph is
Output: Either
Certificate : if , any circulation ,
Improvement : if , a circulation such that .
There is an algorithm for the hidden stable flow chasing updates problem (wtf are these names) which outputs a circulation such that
There is an algorithm which solves incremental max flow whp in amortized time per update, against adaptive adversaries.
Input: Vertex set , two vertices , parameter .
Updates: A sequence of edge insertions, each with a capacity .
Output: Maintain a -apx maximum flow through the updates.
Initially compute a max flow in almost-linear time. Suppose the congestion of is . We will construct a data structure that, after each edge insertion, answers
Certificate : the congestion of the optimal flow has not fallen below , or
Improvement : returns a flow which has congestion less than .
In the first case, the previously calculated is still a -apx max flow. In the second case, we recompute a new maxflow using the static algorithm. Since the congestion drops by a -factor each time, this recomputation happens only times.
The required data structure is as follows. Initialize Theorem 2.1 with , and error parameter . The two cases are:
The algorithm correctly certifies that . Then every flow has -norm at least . If there was a flow with congestion , then it would also have -norm . Thus is still a -apx max flow.
The algorithm returns a new flow with . Then congestion of the flow is at most . Since from , this is . Thus the congestion has dropped by a factor.
∎
There is a randomized algorithm for incremental thresholded -norm flow problem, when given an initial flow and inputs bounded by in fixed-point arithmetic (what is this?), runs in time .
Input: An -norm flow instance with , threshold , parameter .
Updates: Edge insertions (with corresponding )
Output: Either certify correctly that , or return a feasible flow with .
where the -norm flow problem is
Input: Undirected graph , edge weights , demand vector .
Output: minimize over all flows .
Let be the first flow computed. We run the algorithm for Theorem 3.1 iteratively many times. Either
It certifies at time that the flow satisfies for all circulations , . By Lemma 2.3 , .
The flow is returned. This means that the flow has been augmented times. By Lemma 2.4 ,
where the last inequality is by plugging in and in (for and ).
∎
For any and , energy drops by at least the residual when adding circulation
and there is some amount of the circulation that can be added, where the energy doesn’t drop by too much
for some .
Certificate : Fix any threshold . If there exists a flow such that for all circulations , , then the -norm flow instance satisfies .
We will show the converse. If the -norm flow instance satisfies , then for any flow there is a circulation such that . Let be a feasible flow with . Then since is a circulation, using Lemma 2.2 ,
| (since ) | ||||
| (by Lemma 2.2 ) |
∎
Improvement : For any flow and any circulation such that ,
We have
We bound the first two terms as follows
| (by Lemma 2.2 ) | ||||
| (by assumption) | ||||
as required. ∎
There is an algorithm for solving the -apx residual problem.
Input: an -norm flow instance , a feasible flow for this instance, a threshold .
Definition: the residual threshold is , and the residual problem is
Output: either
Certificate : for all circulations , .
Improvement : return a circulation such that
where .
Run the algorithm from Theorem 4.1 with and . Either
there is no circulation with unit negative gradient and small and norms. Then by Lemma 3.2 , every circulation satisfies .
it returns a circulation with unit negative gradient and approximately small and norms. Then by Lemma 3.3 , the residual of satisfies .
∎
Certificate : Fix any and as in the residual problem. If no circulation satisfies
then every circulation must have .
We will show the converse. Let be some circulation such that . We will show that satisfies the required norm bounds. From the bound on the residual, we have
By AM-GM, we have
Similarly,
By weighted AM-GM,
Then setting , we have
∎
Improvement : Given any and an incremental -apx residual solution for , if there is a circulation with
then for the circulation ,
The assumptions on can be restated as
Letting ,
∎
There is a randomized algorithm for the incremental -apx residual problem that runs in time and succeeds with high probability against an adaptive adversary.
Input: Incremental graph with weights and a parameter .
Output: Either
certify that there is no circulation such that and , or
output a circulation such that and .
We run Theorem 5.1 with (refer to paper for more notation) in that algorithm. Either
It returns a cycle with ratio : then there is no circulation with ratio . Among circulations with , there is no circulation with . Then appeal to Lemma 4.6 .
The algorithm returns : then appeal to Lemma 4.5 or something idk.
∎
Initially, and .
Initially, and . Thus and . This gives the lemma. ∎
At any iteration , .
Let be the old potential and be the new potential. The cycle satisfies and .
We will show that and . Then the lemma follows, since
| (since ) | ||||
| (since ) |
We show the two statements required. By definition of ,
In particular, the first inequality gives us our second statement. Now since ,
which gives us the first statement. ∎
At any iteration , .
Something. ∎
Improvement : When Algorithm 2 returns , we have
Therefore, we have
The first claim follows from Lemma 4.2 , Lemma 4.3 , and Lemma 4.4 . ∎
Certificate : At any iteration , if there is no circulation that satisfies
then there is no circulation such that and .
We show the converse. Let be a circulation satisfying the required properties. Then at any iteration ,
We bound each term separately. First, using Lemma 4.5 ,
and
∎
There exists such that there exists a randomized algorithm that maintains a collection of spanning trees and solves the -apx monotone min ratio cycle problem in time, where is the number of updates.
Input: Target ratio , graph with edge gradients and lengths
Updates: Edge insertions, length increases
Ratio of a circulation: , optimal ratio over all circulations in current graph is
Output: Either
Certificate : if , any circulation ,
Improvement : if , a circulation such that .
Use the dynamic algorithm of Theorem 6.1 . Define to be any min ratio circulation in the first iteration where . Define to be if all edges of are in , else define to be the zero circulation. Define the widths to be if and otherwise. The conditions for hidden stable flow chasing updates holds since an edge is deleted and re-inserted when its length doubles. Either
Certificate : if is not contained in , then we do not care which circulation is output.
Improvement : if is supported in , then the output circulation satisfies
∎
There is an algorithm for the hidden stable flow chasing updates problem (wtf are these names) which outputs a circulation such that