Given an undirected graph, all edges have a weight of 1; N, M are about 10 6 I need to find out if there is more flow between the source and the receiver than some value of X. X is quite small.
Using bfs until the stream is equal to X gives O (M * X), ββthis is too slow for me.
Is there a faster flow estimation method?
source share