diff --git a/lemon/bin_heap.h b/lemon/bin_heap.h --- a/lemon/bin_heap.h +++ b/lemon/bin_heap.h @@ -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 CMP specifies the ordering of the priorities. + ///priority is efficient. \c Comp 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 CMP A functor class for the ordering of the priorities. + ///\tparam Comp 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 CMP Compare; + typedef Comp Compare; /// \brief Type to represent the items states. ///