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.
     9  * This file is a part of LEMON, a generic C++ optimization library
 
    11  * Copyright (C) "$YEAR"
 
    12  * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
 
    13  * (Egervary Research Group on Combinatorial Optimization, EGRES).
 
    15  * Permission to use, modify and distribute this software is granted
 
    16  * provided that this copyright notice appears in all copies. For
 
    17  * precise terms see the accompanying LICENSE file.
 
    19  * This software is provided \"AS IS\" with no warranty of any kind,
 
    20  * express or implied, and with no claim as to its suitability for any
 
    27      /\/\* / && pm==0 { pm=1;}
 
    28      /[^:blank:]/ && (pm==0 || pm==2) { pm=3; print;}
 
    29      /\*\// && pm==1 { pm=2;}
 
    33 mv $TMP_FILE $FILE_NAME