Changeset 2202:09cbc87cb4ab in lemon-0.x for lemon/bits
- Timestamp:
- 09/06/06 12:19:57 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2927
- Location:
- lemon/bits
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/bits/array_map.h
r2046 r2202 42 42 /// the container functionality. 43 43 /// 44 /// The template parameter isthe Graph the current Item type and44 /// The template parameters are the Graph the current Item type and 45 45 /// the Value type of the map. 46 46 template <typename _Graph, typename _Item, typename _Value> -
lemon/bits/default_map.h
r2164 r2202 23 23 #include <lemon/bits/array_map.h> 24 24 #include <lemon/bits/vector_map.h> 25 #include <lemon/bits/debug_map.h> 25 26 26 27 ///\ingroup graphbits … … 37 38 typedef ArrayMap<_Graph, _Item, _Value> Map; 38 39 }; 39 40 #else41 42 template <typename _Graph, typename _Item, typename _Value>43 struct DefaultMapSelector {44 typedef VectorMap<_Graph, _Item, _Value> Map;45 };46 47 #endif48 40 49 41 // bool … … 149 141 }; 150 142 143 #else 144 145 template <typename _Graph, typename _Item, typename _Value> 146 struct DefaultMapSelector { 147 typedef DebugMap<_Graph, _Item, _Value> Map; 148 }; 149 150 #endif 151 151 152 /// \e 152 153 template <typename _Graph, typename _Item, typename _Value> -
lemon/bits/vector_map.h
r2031 r2202 43 43 /// The VectorMap template class is graph map structure what 44 44 /// automatically updates the map when a key is added to or erased from 45 /// the map. This map factory uses the allocators to implement 46 /// the container functionality. This map factory 47 /// uses the std::vector to implement the container function. 45 /// the map. This map type uses the std::vector to store the values. 48 46 /// 49 47 /// \param Notifier The AlterationNotifier that will notify this map.
Note: See TracChangeset
for help on using the changeset viewer.