bande.hh File Reference

Master header for all project sources. More...

#include <utility>
#include <iostream>
#include <sstream>
#include <fstream>
#include <iomanip>
#include <limits>
#include <cstdlib>
#include <cmath>
#include <getopt.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <coin/CoinHelperFunctions.hpp>
#include <coin/CoinPackedMatrix.hpp>
#include <coin/OsiSolverInterface.hpp>
#include <coin/OsiClpSolverInterface.hpp>
#include "Settings.hh"
#include "UndoManager.hh"
#include "Statistics.hh"
#include "LinearProgram.hh"
#include "IntegerProgram.hh"
#include "Solutions.hh"
#include "BranchControl.hh"
Include dependency graph for bande.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  bande
 

Namespace of the main BandE implementation.


Defines

#define DBGN(bit, message)   do{ if (Settings::debug & bit) std::cerr << message; } while(0)
 Print debug message without newline.
#define DBG(bit, message)   DBGN(bit, message << std::endl)
 Print a debug message with newline.

Detailed Description

Master header for all project sources.

This file includes all headers that are used anywhere in the project, both system headers and project internal headers. In this way, no part has to worry about the order of header files, and no header file must ward against being included multiple times. The downside is a bit more compilation time for unneccessary headers.

Definition in file bande.hh.


Define Documentation

#define DBG ( bit,
message   )     DBGN(bit, message << std::endl)

Print a debug message with newline.

This is just like DBGN(), except that std::endl will be appended to the message.

Parameters:
bit a bit mask, usually with a single bit set, specifying the class of messages that this message belongs to.
message the message to be printed, maybe containing several parts separated by <<.

Definition at line 97 of file bande.hh.

Referenced by bande::BranchControl::branch().

#define DBGN ( bit,
message   )     do{ if (Settings::debug & bit) std::cerr << message; } while(0)

Print debug message without newline.

If any of the bits specified in this invocation are part of the global debug bit mask Settings::debug, then the message will be printed to standard error. As this is a macro, message may contain multiple items to be printed, seperated from one another using << operators. When no debug is activated, no unneccessary conversion to strings will take place either.

This whole macro is conditioned on the preprocessor switch NDEBUG not being defined. Setting that switch will remove all debug code from the program.

Parameters:
bit a bit mask, usually with a single bit set, specifying the class of messages that this message belongs to.
message the message to be printed, maybe containing several parts separated by <<.

Definition at line 83 of file bande.hh.


Generated on Fri Aug 21 08:17:18 2009 for bande by  doxygen 1.6.0