Put away debug.h and error.h temporarily.
7 //! \brief Basic definitions for debug control.
11 //! Debug mode for testing/debugging
13 //! Use this debug mode if you want exhaustive range and consistency checks.
14 //! It also produces verbose debug messages.
16 //! Example: check whether the edges added to a path are adjacent
17 static const bool consistensy_check = true;
19 static const bool range_check = true;
21 //! Examples: initialize maps with some value;
22 //! after deleting an item from UnionFindEnum set its value in the
23 //! corresponding map to NULL...
24 static const bool ensure_safe_state = true;
26 static const int verbose = 5;
29 //! Debug mode for turning off debug aids.
31 //! This debud mode switches off all range and consistency checks,
32 //! as well as the debug messages.
35 static const bool consistensy_check = false;
36 static const bool range_check = false;
37 static const bool ensure_safe_state = false;
38 static const int verbose = 0;
42 //! The default debug mode.
44 //! The default debug mode.
46 typedef DebugOn DefaultDebugMode;
48 //! The default debug mode.
50 //! The default debug mode.
52 typedef DebugOff DefaultDebugMode;
56 #endif // HUGO_DEBUG_H