|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Random access queue (bag) with O(1) random pop. More...
#include <gsl/gsl_rng.h>#include <htlist.H>#include <ah-dry.H>#include <tpl_dynArray.H>#include <utility>#include <ah-errors.H>Go to the source code of this file.
Classes | |
| class | Aleph::Random_Set< T > |
| Random queue. More... | |
| struct | Aleph::Random_Set< T >::Iterator |
| Iterator of the items of the queue. More... | |
Namespaces | |
| namespace | Aleph |
| Main namespace for Aleph-w library functions. | |
Functions | |
| template<typename T , template< typename > class C> | |
| auto | Aleph::shuffle (const C< T > &c) |
| Randomly shuffle a sequence. | |
| template<typename T , template< typename > class C> | |
| C< T * > | Aleph::shuffle_ptr (const C< T > &c) |
| Return a random sequence of pointers to items of a sequence. | |
Random access queue (bag) with O(1) random pop.
Collection allowing random element extraction. Also defines Random_Set for random set operations.
Definition in file tpl_random_queue.H.