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.
alpar@2235
     1
#!/bin/bash
alpar@2235
     2
alpar@2235
     3
for((i=1;i<50;i++))
alpar@2235
     4
do
alpar@2235
     5
    echo -n $i ''
alpar@2235
     6
    edge_lookup 100 $i
alpar@2235
     7
done