Stxxl
1.4.0
|
Pager with random replacement strategy. More...
#include <pager.h>
Public Member Functions | |
random_pager (size_type num_pages=n_pages) | |
size_type | kick () |
void | hit (size_type ipage) |
size_type | size () const |
Private Types | |
enum | { n_pages = npages_ } |
typedef unsigned_type | size_type |
Private Attributes | |
size_type | num_pages |
random_number < random_uniform_fast > | rnd |
Pager with random replacement strategy.
typedef unsigned_type stxxl::random_pager< npages_ >::size_type [private] |
anonymous enum [private] |
stxxl::random_pager< npages_ >::random_pager | ( | size_type | num_pages = n_pages | ) | [inline] |
void stxxl::random_pager< npages_ >::hit | ( | size_type | ipage | ) | [inline] |
size_type stxxl::random_pager< npages_ >::kick | ( | ) | [inline] |
size_type stxxl::random_pager< npages_ >::size | ( | ) | const [inline] |
size_type stxxl::random_pager< npages_ >::num_pages [private] |
random_number<random_uniform_fast> stxxl::random_pager< npages_ >::rnd [private] |