Download Fast Approximation of Maximum Flow using Electrical Flows

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Document related concepts

Ohm's law wikipedia , lookup

Nanofluidic circuitry wikipedia , lookup

Transcript
Again setting ↵e = 1/u2e , and simplifying the equation by setting Ta = 0
and d = 1 we have:
✓ 2
◆
dTe
fe
=
1
Te
(7)
dt
u2e
This equation is really pretty similar to the equation for dwe /dt in the original algorithm. Notably, the congestion is squared and recentered with the 1,
so we do not see the same exponential growth of temperature as we did with
weights.
Now, consider the circuit obtained by taking the graph over which we are
trying to calculate maximum flow, connecting the source and the sink with a 1
volt voltage source, and turning each edge into a thermistor with ↵e = 1/u2e .
e
This circuit will be in a steady state if dT
dt = 0 for each edge. Looking at
equation (7), we solve:
✓
fe2
u2e
dTe
=0
◆dt
1 Te = 0
Te = 0 or
fe
=1
ue
(8)
This is quite an interesting result. It means that in a steady state, each
edge either has temperature 0 or flows exactly its capacity. In particular, any
maximum flow corresponds to a steady state flow in which edge that is fully
saturated has positive temperature and all other edges will have 0 temperature.
In the graph shown below, we fix the voltage across s and t to be 1, so vs = 1
and vt = 0. If T(a,t) = 0 then r(a,t) = 0 and so va = vt = 0. Now, if the capacity
2 edge flows 2 units of flow, then its resistance must be re = V /I = 1/2. So, its
temperature must be 1/2⇤u2e = 1/2⇤4 = 2 = ue . Similarly, if the capacity 1 edge
flows 1 unit of flow it will have Te = ue = 1 and re = 1. In this configuration,
we will be in a steady state, with 3 units of flow moving from s to t (note, with
0 resistance, the capacity 5 edge absorbs the 3 units of flow in order to preserve
conservation of flow).
Figure 6: Simple graph with possible unfeasible steady state
!"#"%
#
!
!"#"&
23
!"#"$
"