Meta-data of an element in the heap. More...
#include <soft_heap.hh>
Public Member Functions | |
node< T, R > * | child () const |
const T & | ckey () const |
ilcell_t | il () const |
ilcell_t | il_tail () const |
node< T, R > * | next () const |
node (const T &ckey, const R &rank, node< T, R > *next=0, node< T, R > *child=0, ilcell_t il=0, ilcell_t il_tail=0) | |
node () | |
const R & | rank () const |
void | set_child (node< T, R > *child) |
void | set_ckey (const T &ckey) |
void | set_il (ilcell_t il) |
void | set_il_tail (ilcell_t il_tail) |
void | set_next (node< T, R > *next) |
void | set_rank (const R &rank) |
~node () | |
Private Types | |
typedef util::tracked_ptr < ilcell< T > > | ilcell_t |
Private Attributes | |
node< T, R > * | child_ |
T | ckey_ |
ilcell_t | il_ |
ilcell_t | il_tail_ |
node< T, R > * | next_ |
R | rank_ |
Meta-data of an element in the heap.
typedef util::tracked_ptr< ilcell<T> > mln::util::node< T, R >::ilcell_t [private] |
mln::util::node< T, R >::node | ( | ) | [inline] |
mln::util::node< T, R >::node | ( | const T & | ckey, | |
const R & | rank, | |||
node< T, R > * | next = 0 , |
|||
node< T, R > * | child = 0 , |
|||
ilcell_t | il = 0 , |
|||
ilcell_t | il_tail = 0 | |||
) | [inline] |
mln::util::node< T, R >::~node | ( | ) | [inline] |
node< T, R > * mln::util::node< T, R >::child | ( | ) | const [inline] |
const T & mln::util::node< T, R >::ckey | ( | ) | const [inline] |
References mln::util::node< T, R >::ckey_.
Referenced by mln::util::soft_heap< T, R >::meld().
node< T, R >::ilcell_t mln::util::node< T, R >::il | ( | ) | const [inline] |
References mln::util::node< T, R >::il_.
Referenced by mln::util::soft_heap< T, R >::meld(), mln::util::soft_heap< T, R >::println_(), and mln::util::soft_heap< T, R >::sift().
node< T, R >::ilcell_t mln::util::node< T, R >::il_tail | ( | ) | const [inline] |
References mln::util::node< T, R >::il_tail_.
Referenced by mln::util::soft_heap< T, R >::meld(), and mln::util::soft_heap< T, R >::sift().
node< T, R > * mln::util::node< T, R >::next | ( | ) | const [inline] |
const R & mln::util::node< T, R >::rank | ( | ) | const [inline] |
References mln::util::node< T, R >::rank_.
Referenced by mln::util::soft_heap< T, R >::meld(), and mln::util::soft_heap< T, R >::sift().
void mln::util::node< T, R >::set_child | ( | node< T, R > * | child | ) | [inline] |
References mln::util::node< T, R >::child_.
Referenced by mln::util::soft_heap< T, R >::sift().
void mln::util::node< T, R >::set_ckey | ( | const T & | ckey | ) | [inline] |
References mln::util::node< T, R >::ckey_.
Referenced by mln::util::soft_heap< T, R >::sift().
void mln::util::node< T, R >::set_il | ( | ilcell_t | il | ) | [inline] |
References mln::util::node< T, R >::il_.
Referenced by mln::util::soft_heap< T, R >::sift().
void mln::util::node< T, R >::set_il_tail | ( | ilcell_t | il_tail | ) | [inline] |
References mln::util::node< T, R >::il_tail_.
Referenced by mln::util::soft_heap< T, R >::sift().
void mln::util::node< T, R >::set_next | ( | node< T, R > * | next | ) | [inline] |
References mln::util::node< T, R >::next_.
Referenced by mln::util::soft_heap< T, R >::sift().
void mln::util::node< T, R >::set_rank | ( | const R & | rank | ) | [inline] |
References mln::util::node< T, R >::rank_.
node<T,R>* mln::util::node< T, R >::child_ [private] |
Referenced by mln::util::node< T, R >::child(), and mln::util::node< T, R >::set_child().
T mln::util::node< T, R >::ckey_ [private] |
Referenced by mln::util::node< T, R >::ckey(), and mln::util::node< T, R >::set_ckey().
ilcell_t mln::util::node< T, R >::il_ [private] |
Referenced by mln::util::node< T, R >::il(), and mln::util::node< T, R >::set_il().
ilcell_t mln::util::node< T, R >::il_tail_ [private] |
Referenced by mln::util::node< T, R >::il_tail(), and mln::util::node< T, R >::set_il_tail().
node<T,R>* mln::util::node< T, R >::next_ [private] |
Referenced by mln::util::node< T, R >::next(), and mln::util::node< T, R >::set_next().
R mln::util::node< T, R >::rank_ [private] |
Referenced by mln::util::node< T, R >::rank(), and mln::util::node< T, R >::set_rank().