diff -r 632a72b27123 -r 40bbb450143e lemon/bin_heap.h --- a/lemon/bin_heap.h Tue Apr 12 07:46:34 2011 +0200 +++ b/lemon/bin_heap.h Wed Jul 13 14:40:05 2011 +0200 @@ -33,23 +33,23 @@ /// ///\brief A Binary Heap implementation. /// - ///This class implements the \e binary \e heap data structure. - /// + ///This class implements the \e binary \e heap data structure. + /// ///A \e heap is a data structure for storing items with specified values ///called \e priorities in such a way that finding the item with minimum - ///priority is efficient. \c Comp specifies the ordering of the priorities. + ///priority is efficient. \c CMP specifies the ordering of the priorities. ///In a heap one can change the priority of an item, add or erase an ///item, etc. /// ///\tparam PR Type of the priority of the items. ///\tparam IM A read and writable item map with int values, used internally ///to handle the cross references. - ///\tparam Comp A functor class for the ordering of the priorities. + ///\tparam CMP A functor class for the ordering of the priorities. ///The default is \c std::less. /// ///\sa FibHeap ///\sa Dijkstra - template > + template > class BinHeap { public: @@ -62,7 +62,7 @@ ///\e typedef std::pair Pair; ///\e - typedef Comp Compare; + typedef CMP Compare; /// \brief Type to represent the items states. ///