Now I'm just not sure which part of the program produce the memory problem.
I've used version 2.2 and 3.0 of the implementation of this algorithm. Both of them crash only if the size is big...
Type: Posts; User: jutirain
Now I'm just not sure which part of the program produce the memory problem.
I've used version 2.2 and 3.0 of the implementation of this algorithm. Both of them crash only if the size is big...
I've tested the code using g++ 4.1.2 and 4.3.1, both on Ubuntu 8.10, neither of them support template function linking. I'm a little curious about why it's so hard for a compiler to implement this...
I'm using an implementation of maxflow algorithm from here:
http://www.adastral.ucl.ac.uk/~vladkolm/software.html
(Please see section 3 Maxflow)
The version 2.2 works just fine.
However, when I...