Changeset 2263:9273fe7d850c in lemon-0.x for lemon/min_cut.h
- Timestamp:
- 10/26/06 16:20:17 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3021
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/min_cut.h
r2260 r2263 39 39 template <typename CapacityMap> 40 40 struct HeapSelector { 41 template <typename Key, typenameValue, typename Ref>41 template <typename Value, typename Ref> 42 42 struct Selector { 43 typedef BinHeap< Key,Value, Ref, std::greater<Value> > Heap;43 typedef BinHeap<Value, Ref, std::greater<Value> > Heap; 44 44 }; 45 45 }; … … 47 47 template <typename CapacityKey> 48 48 struct HeapSelector<ConstMap<CapacityKey, Const<int, 1> > > { 49 template <typename Key, typenameValue, typename Ref>49 template <typename Value, typename Ref> 50 50 struct Selector { 51 typedef BucketHeap< Key,Ref, false > Heap;51 typedef BucketHeap<Ref, false > Heap; 52 52 }; 53 53 }; … … 100 100 typedef typename _min_cut_bits 101 101 ::HeapSelector<CapacityMap> 102 ::template Selector< typename Graph::Node,Value, HeapCrossRef>102 ::template Selector<Value, HeapCrossRef> 103 103 ::Heap Heap; 104 104 … … 767 767 typedef typename _min_cut_bits 768 768 ::HeapSelector<CapacityMap> 769 ::template Selector< typename AuxGraph::Node,Value, HeapCrossRef>769 ::template Selector<Value, HeapCrossRef> 770 770 ::Heap Heap; 771 771
Note: See TracChangeset
for help on using the changeset viewer.