lemon/concepts/heap.h
changeset 2263 9273fe7d850c
parent 2260 4274224f8a7d
child 2391 14a343be7a5a
     1.1 --- a/lemon/concepts/heap.h	Thu Oct 26 13:35:35 2006 +0000
     1.2 +++ b/lemon/concepts/heap.h	Thu Oct 26 14:20:17 2006 +0000
     1.3 @@ -36,9 +36,12 @@
     1.4      ///
     1.5      /// A concept structure describes the main interface of heaps.
     1.6      ///
     1.7 -    template <typename Item, typename Prio, typename ItemIntMap>
     1.8 +    template <typename Prio, typename ItemIntMap>
     1.9      class Heap {
    1.10      public:
    1.11 +
    1.12 +      ///\brief Type of the items stored in the heap.
    1.13 +      typedef typename ItemIntMap::Key  Item;
    1.14    
    1.15  
    1.16        /// \brief Type to represent the items states.