Compilation warning resolved.
3 * This file is a part of LEMON, a generic C++ optimization library
5 * Copyright (C) 2003-2006
6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
7 * (Egervary Research Group on Combinatorial Optimization, EGRES).
9 * Permission to use, modify and distribute this software is granted
10 * provided that this copyright notice appears in all copies. For
11 * precise terms see the accompanying LICENSE file.
13 * This software is provided "AS IS" with no warranty of any kind,
14 * express or implied, and with no claim as to its suitability for any
23 //! \brief Basic definitions for debug control.
27 //! Debug mode for testing/debugging
29 //! Use this debug mode if you want exhaustive range and consistency checks.
30 //! It also produces verbose debug messages.
32 //! Example: check whether the edges added to a path are adjacent
33 static const bool consistensy_check = true;
35 static const bool range_check = true;
37 //! Examples: initialize maps with some value;
38 //! after deleting an item from UnionFindEnum set its value in the
39 //! corresponding map to NULL...
40 static const bool ensure_safe_state = true;
42 static const int verbose = 5;
45 //! Debug mode for turning off debug aids.
47 //! This debud mode switches off all range and consistency checks,
48 //! as well as the debug messages.
51 static const bool consistensy_check = false;
52 static const bool range_check = false;
53 static const bool ensure_safe_state = false;
54 static const int verbose = 0;
58 //! The default debug mode.
60 //! The default debug mode.
62 typedef DebugOn DefaultDebugMode;
64 //! The default debug mode.
66 //! The default debug mode.
68 typedef DebugOff DefaultDebugMode;
72 #endif // LEMON_DEBUG_H