by antonii · 6y ago · 0 comments
The following simpler formulation of the flooding process may be easier to follow.
initial state: num_islands=1; num_lakes=V
final state: num_islands=F; num_lakes=1
how state changes: Each time a saddle sinks, either two lakes are joined (num_lakes--) or an island is split (num_islands++)
The whole process takes (F-1)+(V-1) events to finish, which is equal to the number of saddles E.