CNDSM  1.00
Compile-time switches in MCFClass.h

These macros control some important details of the class interface. More...

Macros

#define USENAME0   0
 Decides if 0 or 1 is the "name" of the first node. More...
 

Detailed Description

These macros control some important details of the class interface.

Although using macros for activating features of the interface is not very C++, switching off some unused features may allow some implementation to be more efficient in running time or memory.

Macro Definition Documentation

#define USENAME0   0

Decides if 0 or 1 is the "name" of the first node.

If USENAME0 == 1, (warning: it has to be exactly 1), then the node names go from 0 to n - 1, otherwise from 1 to n. Note that this does not affect the position of the deficit in the deficit vectors, i.e., the deficit of the i-th node - be its "name" `i' or `i - 1' - is always in the i-th position of the vector.

Referenced by SPTree::SetDest(), SPTree::SetOrigin(), and MCFClass::WriteMCF().