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.
     1 c LEMON max flow problem
     2 p max 7 9
     3 n 1 s
     4 n 7 t
     5 a 1 2 3
     6 a 1 3 2
     7 a 1 4 1
     8 a 2 5 3
     9 a 3 5 2
    10 a 3 7 5
    11 a 3 6 3
    12 a 4 6 1
    13 a 5 7 2
    14 a 6 7 4