demo/sub_gad_input.lgf
author kpeter
Mon, 18 Feb 2008 03:32:06 +0000
changeset 2575 e866e288cba6
parent 1577 15098fb5275c
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 @nodeset 
     2 label
     3 6
     4 5
     5 4
     6 3
     7 2
     8 1
     9 0
    10 @edgeset 
    11                 label      length
    12 5       6       9       4
    13 4       6       8       2
    14 3       5       7       1
    15 2       5       6       3
    16 2       6       5       5
    17 2       4       4       2
    18 1       4       3       3
    19 0       3       2       1
    20 0       2       1       2
    21 0       1       0       3
    22 @nodes 
    23 source 0
    24 target 6
    25 @edges 
    26 @attributes 
    27 @end