equal
deleted
inserted
replaced
86 PRE_HEAP = -1, |
86 PRE_HEAP = -1, |
87 ///The node was in the heap but it got out of it |
87 ///The node was in the heap but it got out of it |
88 POST_HEAP = -2 |
88 POST_HEAP = -2 |
89 }; |
89 }; |
90 |
90 |
91 FibHeap(ItemIntMap &_iimap) : minimum(0), iimap(_iimap), num_items() {} |
91 explicit FibHeap(ItemIntMap &_iimap) |
|
92 : minimum(0), iimap(_iimap), num_items() {} |
92 FibHeap(ItemIntMap &_iimap, const Compare &_comp) : minimum(0), |
93 FibHeap(ItemIntMap &_iimap, const Compare &_comp) : minimum(0), |
93 iimap(_iimap), comp(_comp), num_items() {} |
94 iimap(_iimap), comp(_comp), num_items() {} |
94 |
95 |
95 ///The number of items stored in the heap. |
96 ///The number of items stored in the heap. |
96 |
97 |