src/lemon/bin_heap.h
changeset 1190 477a0fe37552
parent 1164 80bb73097736
child 1191 c988f12c6c0c
equal deleted inserted replaced
2:7171fb234e84 3:eb4812f76ba8
    71     // FIXME: jo ez igy???
    71     // FIXME: jo ez igy???
    72     ItemIntMap &iim;
    72     ItemIntMap &iim;
    73 
    73 
    74   public:
    74   public:
    75     ///\e
    75     ///\e
    76     BinHeap(ItemIntMap &_iim) : iim(_iim) {}
    76     explicit BinHeap(ItemIntMap &_iim) : iim(_iim) {}
    77     ///\e
    77     ///\e
    78     BinHeap(ItemIntMap &_iim, const Compare &_comp) : comp(_comp), iim(_iim) {}
    78     explicit BinHeap(ItemIntMap &_iim, const Compare &_comp) 
       
    79       : iim(_iim), comp(_comp) {}
    79 
    80 
    80 
    81 
    81     ///\e
    82     ///\e
    82     int size() const { return data.size(); }
    83     int size() const { return data.size(); }
    83     ///\e
    84     ///\e