equal
deleted
inserted
replaced
34 ///\ingroup graphbits |
34 ///\ingroup graphbits |
35 /// |
35 /// |
36 ///\file |
36 ///\file |
37 ///\brief Vector based graph maps for debugging. |
37 ///\brief Vector based graph maps for debugging. |
38 namespace lemon { |
38 namespace lemon { |
|
39 |
|
40 #ifndef LEMON_STRICT_DEBUG_MAP |
|
41 #define LEMON_STRICT_DEBUG_MAP false |
|
42 #endif |
39 |
43 |
40 /// \ingroup graphbits |
44 /// \ingroup graphbits |
41 /// |
45 /// |
42 /// \brief Graph map based on the std::vector storage. |
46 /// \brief Graph map based on the std::vector storage. |
43 /// |
47 /// |
64 /// The container type of the debug flags. |
68 /// The container type of the debug flags. |
65 typedef std::vector<bool> Flag; |
69 typedef std::vector<bool> Flag; |
66 |
70 |
67 public: |
71 public: |
68 |
72 |
69 static const bool strictCheck = false; |
73 static const bool strictCheck = LEMON_STRICT_DEBUG_MAP; |
70 |
74 |
71 struct MapError { |
75 struct MapError { |
72 public: |
76 public: |
73 virtual ~MapError() {} |
77 virtual ~MapError() {} |
74 virtual const char* what() const throw() { |
78 virtual const char* what() const throw() { |