Changeset 1830:ffd6d50fb155 in lemon-0.x
- Timestamp:
- 11/23/05 17:08:02 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2380
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/graph_utils.h
r1829 r1830 444 444 /// Copy the \c source map to the \c target map. It uses the given iterator 445 445 /// to iterate on the data structure. 446 template <typename Target, typename Source, 447 typename ItemIt> 446 template <typename Target, typename Source, typename ItemIt> 448 447 void copyMap(Target& target, const Source& source, ItemIt it) { 449 448 for (; it != INVALID; ++it) { … … 889 888 /// in the inverse map. 890 889 /// \param _Graph The graph type. 891 /// \param _Map The map to extend with invertable functionality. 890 /// \param _Item The item type of the graph. 891 /// \param _Value The value type of the map. 892 #ifndef DOXYGEN 893 /// \param _Map A ReadWriteMap mapping from the item type to integer. 892 894 template < 893 typename _Graph, 894 typename _Item, 895 typename _Value, 896 typename _Map 895 typename _Graph, typename _Item, typename _Value, typename _Map 897 896 = typename ItemSetTraits<_Graph, _Item>::template Map<_Value>::Parent 898 897 > 898 #else 899 template <typename _Graph, typename _Item, typename _Value> 900 #endif 899 901 class InvertableMap : protected _Map { 900 902 … … 1036 1038 /// \param _Item The Item is the Key of the Map. It may be Node, Edge or 1037 1039 /// UndirEdge. 1040 #ifndef DOXYGEN 1038 1041 /// \param _Map A ReadWriteMap mapping from the item type to integer. 1039 1042 template < 1040 typename _Graph, 1041 typename _Item, 1042 typename _Map 1043 = typename ItemSetTraits<_Graph, _Item>::template Map<int>::Parent 1043 typename _Graph, typename _Item, typename _Map 1044 = typename ItemSetTraits<_Graph, _Item>::template Map<int>::Parent 1044 1045 > 1046 #else 1047 template <typename _Graph, typename _Item> 1048 #endif 1045 1049 class DescriptorMap : protected _Map { 1046 1050
Note: See TracChangeset
for help on using the changeset viewer.