NewMapWin has become Dialog instead of Window. Therefore it is created dynamically, when there is need for it, instead of keeping one instance in memory. This solution is slower, but more correct than before.
2 * lemon/debug.h - Part of LEMON, a generic C++ optimization library
4 * Copyright (C) 2005 Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
5 * (Egervary Research Group on Combinatorial Optimization, EGRES).
7 * Permission to use, modify and distribute this software is granted
8 * provided that this copyright notice appears in all copies. For
9 * precise terms see the accompanying LICENSE file.
11 * This software is provided "AS IS" with no warranty of any kind,
12 * express or implied, and with no claim as to its suitability for any
21 //! \brief Basic definitions for debug control.
25 //! Debug mode for testing/debugging
27 //! Use this debug mode if you want exhaustive range and consistency checks.
28 //! It also produces verbose debug messages.
30 //! Example: check whether the edges added to a path are adjacent
31 static const bool consistensy_check = true;
33 static const bool range_check = true;
35 //! Examples: initialize maps with some value;
36 //! after deleting an item from UnionFindEnum set its value in the
37 //! corresponding map to NULL...
38 static const bool ensure_safe_state = true;
40 static const int verbose = 5;
43 //! Debug mode for turning off debug aids.
45 //! This debud mode switches off all range and consistency checks,
46 //! as well as the debug messages.
49 static const bool consistensy_check = false;
50 static const bool range_check = false;
51 static const bool ensure_safe_state = false;
52 static const int verbose = 0;
56 //! The default debug mode.
58 //! The default debug mode.
60 typedef DebugOn DefaultDebugMode;
62 //! The default debug mode.
64 //! The default debug mode.
66 typedef DebugOff DefaultDebugMode;
70 #endif // LEMON_DEBUG_H