changeset 1191 | c988f12c6c0c |
parent 1185 | 22bb02339808 |
child 1270 | 806451fd084b |
3:eb4812f76ba8 | 4:a3b9d4212c2d |
---|---|
73 |
73 |
74 public: |
74 public: |
75 ///\e |
75 ///\e |
76 explicit BinHeap(ItemIntMap &_iim) : iim(_iim) {} |
76 explicit BinHeap(ItemIntMap &_iim) : iim(_iim) {} |
77 ///\e |
77 ///\e |
78 explicit BinHeap(ItemIntMap &_iim, const Compare &_comp) |
78 BinHeap(ItemIntMap &_iim, const Compare &_comp) |
79 : iim(_iim), comp(_comp) {} |
79 : iim(_iim), comp(_comp) {} |
80 |
80 |
81 |
81 |
82 ///\e |
82 ///\e |
83 int size() const { return data.size(); } |
83 int size() const { return data.size(); } |