lemon/bucket_heap.h
changeset 758 28cfac049a6a
parent 757 f1fe0ddad6f7
child 956 141f9c0db4a3
     1.1 --- a/lemon/bucket_heap.h	Wed Jul 08 17:22:36 2009 +0200
     1.2 +++ b/lemon/bucket_heap.h	Wed Jul 08 17:47:01 2009 +0200
     1.3 @@ -142,7 +142,7 @@
     1.4  
     1.5    private:
     1.6  
     1.7 -    void relocate_last(int idx) {
     1.8 +    void relocateLast(int idx) {
     1.9        if (idx + 1 < int(_data.size())) {
    1.10          _data[idx] = _data.back();
    1.11          if (_data[idx].prev != -1) {
    1.12 @@ -243,7 +243,7 @@
    1.13        int idx = _first[_minimum];
    1.14        _iim[_data[idx].item] = -2;
    1.15        unlace(idx);
    1.16 -      relocate_last(idx);
    1.17 +      relocateLast(idx);
    1.18      }
    1.19  
    1.20      /// \brief Remove the given item from the heap.
    1.21 @@ -256,7 +256,7 @@
    1.22        int idx = _iim[i];
    1.23        _iim[_data[idx].item] = -2;
    1.24        unlace(idx);
    1.25 -      relocate_last(idx);
    1.26 +      relocateLast(idx);
    1.27      }
    1.28  
    1.29      /// \brief The priority of the given item.