Changeset 2038:33db14058543 in lemon-0.x for lemon/min_cut.h
- Timestamp:
- 04/04/06 19:45:35 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2677
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/min_cut.h
r2037 r2038 25 25 #include <lemon/list_graph.h> 26 26 #include <lemon/bin_heap.h> 27 #include <lemon/ linear_heap.h>27 #include <lemon/bucket_heap.h> 28 28 29 29 #include <lemon/bits/invalid.h> … … 49 49 template <typename Key, typename Value, typename Ref> 50 50 struct Selector { 51 typedef LinearHeap<Key, Ref, false > Heap;51 typedef BucketHeap<Key, Ref, false > Heap; 52 52 }; 53 53 }; … … 95 95 /// the \ref BinHeap, but it is specialized when the 96 96 /// CapacityMap is ConstMap<Graph::Node, Const<int, 1> > 97 /// to LinearHeap.97 /// to BucketHeap. 98 98 /// 99 99 /// \sa MaxCardinalitySearch … … 842 842 /// The complexity of the algorithm is O(n*e*log(n)) but with Fibonacci 843 843 /// heap it can be decreased to O(n*e+n^2*log(n)). When the neutral capacity 844 /// map is used then it uses LinearHeap which results O(n*e) time complexity.844 /// map is used then it uses BucketHeap which results O(n*e) time complexity. 845 845 #ifdef DOXYGEN 846 846 template <typename _Graph, typename _CapacityMap, typename _Traits>
Note: See TracChangeset
for help on using the changeset viewer.