src/lemon/fib_heap.h
changeset 1192 aa4483befa56
parent 1164 80bb73097736
child 1204 c3e29c6ae4e4
equal deleted inserted replaced
3:e0bd3e3e5b1f 4:3f55fa0068d9
    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