Anybody using maxflow algorithm here?
I'm using an implementation of maxflow algorithm from here:
(Please see section 3 Maxflow)
The version 2.2 works just fine.
However, when I porting to version 3.0, there are some problems.
First, g++ doesn't implement the template function linking,
so I move all the implementation to header file.
After that, when I call the function maxflow()
The program will crash since the DBlock doesn't work.
Is there anybody using the same code and works just fine?