#include <hqueues.hh>
Public Types | |
enum | { nvalues = mln_card(T) } |
Public Member Functions | |
hqueues (const histo::array< T > &h) | |
p_queue_fast< P > & | operator() (const T &v) |
const p_queue_fast< P > & | operator() (const T &v) const |
p_queue_fast< P > & | operator[] (unsigned i) |
const p_queue_fast< P > & | operator[] (unsigned i) const |
const mln::value::set< T > & | vset () const |
Protected Member Functions | |
void | pre_allocate_ (unsigned i) |
Protected Attributes | |
std::vector< bool > | allocated_ |
const histo::array< T > & | h_ |
std::vector< p_queue_fast< P > > | queues_ |
const mln::value::set< T > & | s_ |
Definition at line 52 of file hqueues.hh.
anonymous enum |
mln::util::hqueues< P, T >::hqueues | ( | const histo::array< T > & | h | ) | [inline] |
Definition at line 82 of file hqueues.hh.
p_queue_fast< P > & mln::util::hqueues< P, T >::operator() | ( | const T & | v | ) | [inline] |
Definition at line 137 of file hqueues.hh.
References mln::util::hqueues< P, T >::pre_allocate_(), mln::util::hqueues< P, T >::queues_, and mln::util::hqueues< P, T >::s_.
const p_queue_fast< P > & mln::util::hqueues< P, T >::operator() | ( | const T & | v | ) | const [inline] |
Definition at line 127 of file hqueues.hh.
References mln::util::hqueues< P, T >::pre_allocate_(), mln::util::hqueues< P, T >::queues_, and mln::util::hqueues< P, T >::s_.
p_queue_fast< P > & mln::util::hqueues< P, T >::operator[] | ( | unsigned | i | ) | [inline] |
Definition at line 117 of file hqueues.hh.
References mln::util::hqueues< P, T >::nvalues, mln::util::hqueues< P, T >::pre_allocate_(), and mln::util::hqueues< P, T >::queues_.
const p_queue_fast< P > & mln::util::hqueues< P, T >::operator[] | ( | unsigned | i | ) | const [inline] |
Definition at line 107 of file hqueues.hh.
References mln::util::hqueues< P, T >::nvalues, mln::util::hqueues< P, T >::pre_allocate_(), and mln::util::hqueues< P, T >::queues_.
void mln::util::hqueues< P, T >::pre_allocate_ | ( | unsigned | i | ) | [inline, protected] |
Definition at line 93 of file hqueues.hh.
References mln::util::hqueues< P, T >::allocated_, mln::util::hqueues< P, T >::h_, mln::util::hqueues< P, T >::nvalues, and mln::util::hqueues< P, T >::queues_.
Referenced by mln::util::hqueues< P, T >::operator()(), and mln::util::hqueues< P, T >::operator[]().
const mln::value::set< T > & mln::util::hqueues< P, T >::vset | ( | ) | const [inline] |
std::vector<bool> mln::util::hqueues< P, T >::allocated_ [protected] |
Definition at line 73 of file hqueues.hh.
Referenced by mln::util::hqueues< P, T >::pre_allocate_().
const histo::array<T>& mln::util::hqueues< P, T >::h_ [protected] |
Definition at line 71 of file hqueues.hh.
Referenced by mln::util::hqueues< P, T >::pre_allocate_().
std::vector< p_queue_fast<P> > mln::util::hqueues< P, T >::queues_ [protected] |
Definition at line 74 of file hqueues.hh.
Referenced by mln::util::hqueues< P, T >::operator()(), mln::util::hqueues< P, T >::operator[](), and mln::util::hqueues< P, T >::pre_allocate_().
const mln::value::set<T>& mln::util::hqueues< P, T >::s_ [protected] |
Definition at line 72 of file hqueues.hh.
Referenced by mln::util::hqueues< P, T >::operator()(), and mln::util::hqueues< P, T >::vset().