#include <heap.hpp>
List of all members.
Public Member Functions
Friends
Detailed Description
template<typename C>
class mmx::heap< C >
- Examples:
-
heap_test.cpp.
Definition at line 73 of file heap.hpp.
Constructor & Destructor Documentation
heap |
( |
comparison |
compare | ) |
[inline] |
Member Function Documentation
C operator[] |
( |
nat |
i | ) |
const [inline] |
Definition at line 85 of file heap.hpp.
References ASSERT.
{
ASSERT (i < rep->n, "out of range");
return rep->a[i]; }
Friends And Related Function Documentation
heap<C> copy LESSGTR |
( |
const heap< C > & |
h | ) |
[friend] |
nat N LESSGTR |
( |
const heap< C > & |
h | ) |
[friend] |
C pull LESSGTR |
( |
heap< C > & |
h | ) |
[friend] |
void push LESSGTR |
( |
heap< C > & |
h, |
|
|
const C & |
x |
|
) |
| [friend] |
C get_top LESSGTR |
( |
const heap< C > & |
h | ) |
[friend] |
void set_top LESSGTR |
( |
heap< C > & |
h, |
|
|
const C & |
x |
|
) |
| [friend] |
The documentation for this class was generated from the following file:
- /Users/mourrain/Devel/mmx/basix/include/basix/heap.hpp