demo/sub_graph_adaptor_demo.dim
author kpeter
Mon, 18 Feb 2008 03:32:06 +0000
changeset 2575 e866e288cba6
parent 1401 9588dcef6793
permissions -rw-r--r--
Major improvements in NetworkSimplex.

Main changes:
- Use -potenital[] instead of potential[] to conform to the usual
terminology.
- Use function parameter instead of #define commands to select pivot rule.
- Use much faster implementation for the candidate list pivot rule.
It is about 5-20 times faster now.
- Add a new pivot rule called "Limited Search" that is a modified
version of "Block Search". It is about 25 percent faster on rather
sparse graphs.
- By default "Limited Search" is used for sparse graphs and
"Block Search" is used otherwise. This combined method is the most
efficient on every input class.
- Change the name of private members to start with "_".
- Change the name of function parameters not to start with "_".
- Remove unnecessary documentation for private members.
- Many doc improvements.
klao@922
     1
c LEMON max flow problem
marci@867
     2
p max 7 9
marci@867
     3
n 1 s
marci@867
     4
n 7 t
marci@867
     5
a 1 2 3
marci@867
     6
a 1 3 2
marci@867
     7
a 1 4 1
marci@867
     8
a 2 5 3
marci@867
     9
a 3 5 2
marci@867
    10
a 3 7 5
marci@867
    11
a 3 6 3
marci@867
    12
a 4 6 1
marci@867
    13
a 5 7 2
marci@867
    14
a 6 7 4