benchmark/edge_lookup_test
author kpeter
Wed, 15 Oct 2008 12:04:11 +0000
changeset 2625 c51b320bc51c
permissions -rwxr-xr-x
Major improvement in the cost scaling algorithm

- Add a new variant that use the partial augment-relabel method.
- Use this method instead of push-relabel by default.
- Use the "Early Termination" heuristic instead of "Price Refinement".

Using the new method and heuristic the algorithm proved to be
2-2.5 times faster on all input files.
     1 #!/bin/bash
     2 
     3 for((i=1;i<50;i++))
     4 do
     5     echo -n $i ''
     6     edge_lookup 100 $i
     7 done