Closed Kumar-laxmi closed 7 months ago
@Kumar-laxmi pls assign this to me
Assigned! @hlw-aryan : C
please assign this issue to me i would like to work on this .
Hi @Kumar-laxmi, this is Ashish. This Dinic's Algorithm can be optimized. Here is my optimized approach:
--> Using multiple DFS searches in parallel, this can be done by dividing the level graph into several subgraphs and then running a DFS search on each subgraph in parallel. This can significantly speed up the algorithm, especially for large graphs.
--> The level graph can be implemented using a binary heap, which can significantly speed up the BFS searches.
--> The flow values can be implemented using a bitvector, which can significantly reduce the amount of space required by the algorithm.
You can kindly assign me the issue so that I can work on it.
Stale issue message
Feature = Dinic's Algorithm in C
Dinic's algorithm is a graph algorithm used to find the maximum flow in a flow network. Given a directed graph with a source vertex, a sink vertex, and capacities assigned to the edges, the algorithm determines the maximum amount of flow that can be sent from the source to the sink.
It can handle large flow networks efficiently and is considered one of the fastest maximum flow algorithms.
Approach :
Initialization:
Blocking Flow:
Update Level Graph:
Termination and Maximum Flow:
Additional context