diff -r 66156a3498ea -r b4af20d02ae0 lemon/bin_heap.h --- a/lemon/bin_heap.h Mon Mar 14 08:56:54 2011 +0100 +++ b/lemon/bin_heap.h Fri Apr 15 09:26:09 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. ///