#include <fakeheap.H>
Public Member Functions | |
FakeHeap () | |
~FakeHeap () | |
void | clear () |
bool | empty () const |
void | sort (void) |
void | push (const TSieve_Delta &x) |
void | pop (void) |
const TSieve_Delta & | top (void) const |
Private Member Functions | |
void | swap_p (const long int i, const long int j) |
void | quicksort (register long int l, register long int r) |
Private Attributes | |
TSieve_Delta * | p |
int | size |
int | capacity |
Static Private Attributes | |
static const int | MORESIZE = 0x10000 |
Definition at line 143 of file fakeheap.H.
FakeHeap< TSieve_Delta >::FakeHeap | ( | ) | [inline] |
Definition at line 374 of file fakeheap.H.
FakeHeap< TSieve_Delta >::~FakeHeap | ( | ) | [inline] |
Definition at line 375 of file fakeheap.H.
void FakeHeap< TSieve_Delta >::swap_p | ( | const long int | i, | |
const long int | j | |||
) | [inline, private] |
Definition at line 150 of file fakeheap.H.
void FakeHeap< TSieve_Delta >::quicksort | ( | register long int | l, | |
register long int | r | |||
) | [inline, private] |
void FakeHeap< TSieve_Delta >::clear | ( | ) | [inline] |
Definition at line 383 of file fakeheap.H.
bool FakeHeap< TSieve_Delta >::empty | ( | ) | const [inline] |
Definition at line 384 of file fakeheap.H.
References std::vector< T >::size().
void FakeHeap< TSieve_Delta >::sort | ( | void | ) | [inline] |
Definition at line 386 of file fakeheap.H.
References std::vector< T >::size().
void FakeHeap< TSieve_Delta >::push | ( | const TSieve_Delta & | x | ) | [inline] |
Definition at line 401 of file fakeheap.H.
void FakeHeap< TSieve_Delta >::pop | ( | void | ) | [inline] |
Definition at line 414 of file fakeheap.H.
const TSieve_Delta& FakeHeap< TSieve_Delta >::top | ( | void | ) | const [inline] |
Definition at line 418 of file fakeheap.H.
const int FakeHeap< TSieve_Delta >::MORESIZE = 0x10000 [static, private] |
Definition at line 146 of file fakeheap.H.
TSieve_Delta* FakeHeap< TSieve_Delta >::p [private] |
Definition at line 147 of file fakeheap.H.
int FakeHeap< TSieve_Delta >::size [private] |
Definition at line 148 of file fakeheap.H.
int FakeHeap< TSieve_Delta >::capacity [private] |
Definition at line 148 of file fakeheap.H.