COIN-OR::LEMON - Graph Library

Changeset 711:28cfac049a6a in lemon-1.2 for lemon/bucket_heap.h


Ignore:
Timestamp:
07/08/09 17:47:01 (10 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Phase:
public
Message:

Unify member names in heaps (#299)

The following renamings are made.

Public members:

Private members:

  • bubble_up() -> bubbleUp()
  • bubble_down() -> bubbleDown()
  • second_child() -> secondChild()
  • makeroot() -> makeRoot()
  • relocate_last() -> relocateLast()
  • data -> _data
  • boxes -> _boxes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/bucket_heap.h

    r710 r711  
    143143  private:
    144144
    145     void relocate_last(int idx) {
     145    void relocateLast(int idx) {
    146146      if (idx + 1 < int(_data.size())) {
    147147        _data[idx] = _data.back();
     
    244244      _iim[_data[idx].item] = -2;
    245245      unlace(idx);
    246       relocate_last(idx);
     246      relocateLast(idx);
    247247    }
    248248
     
    257257      _iim[_data[idx].item] = -2;
    258258      unlace(idx);
    259       relocate_last(idx);
     259      relocateLast(idx);
    260260    }
    261261
Note: See TracChangeset for help on using the changeset viewer.