#include <string>
#include <algorithm>
#include <vector>
Go to the source code of this file.
Namespaces | |
namespace | prophet |
Classes | |
struct | prophet::less_string |
struct | prophet::DoNothing< T, size_type > |
class | prophet::Heap< UnitType, Sequence, Compare, UpdateElem > |
Defines | |
#define | FOUR_BYTE_ALIGN(x) (((x) % 4) != 0) ? ((x) + (4 - ((x) % 4))) : (x) |
#define | PARENT(_x) (((_x) - 1) >> 1) |
#define | LEFT(_x) (((_x) << 1) + 1) |
#define FOUR_BYTE_ALIGN | ( | x | ) | (((x) % 4) != 0) ? ((x) + (4 - ((x) % 4))) : (x) |
#define LEFT | ( | _x | ) | (((_x) << 1) + 1) |
Definition at line 48 of file Util.h.
Referenced by prophet::Heap< prophet::Node *, std::vector< prophet::Node * >, struct prophet::heap_compare, struct prophet::heap_pos >::heap_down(), and prophet::Heap< prophet::Node *, std::vector< prophet::Node * >, struct prophet::heap_compare, struct prophet::heap_pos >::make_heap().
#define PARENT | ( | _x | ) | (((_x) - 1) >> 1) |
Definition at line 47 of file Util.h.
Referenced by prophet::Heap< prophet::Node *, std::vector< prophet::Node * >, struct prophet::heap_compare, struct prophet::heap_pos >::heap_up(), and prophet::Heap< prophet::Node *, std::vector< prophet::Node * >, struct prophet::heap_compare, struct prophet::heap_pos >::make_heap().