Go to the source code of this file.
|
typedef struct bbt_treap | bbt |
|
◆ bbt
typedef struct bbt_treap bbt |
◆ bbt_delete_bbt()
void bbt_delete_bbt |
( |
void * |
root, |
|
|
void * |
old, |
|
|
int(*)() |
compare |
|
) |
| |
Definition at line 77 of file bbt.c.
◆ bbt_insert_bbt()
void bbt_insert_bbt |
( |
void * |
root, |
|
|
void * |
new, |
|
|
int(*)() |
compare |
|
) |
| |
◆ delete_root()
static bbt* delete_root |
( |
bbt * |
t | ) |
|
|
static |
Definition at line 36 of file bbt.c.
◆ delete_treap()
static bbt* delete_treap |
( |
bbt * |
old, |
|
|
bbt * |
t, |
|
|
int(*)() |
compare |
|
) |
| |
|
static |
Definition at line 57 of file bbt.c.
◆ insert()
static bbt* insert |
( |
bbt * |
new, |
|
|
bbt * |
t, |
|
|
int(*)() |
compare |
|
) |
| |
|
static |
Definition at line 85 of file bbt.c.
◆ pseudo_random()
static int pseudo_random |
( |
void |
| ) |
|
|
static |
Definition at line 9 of file bbt.c.
◆ rotate_left()
static bbt* rotate_left |
( |
bbt * |
t | ) |
|
|
static |
Definition at line 26 of file bbt.c.
◆ rotate_right()
static bbt* rotate_right |
( |
bbt * |
t | ) |
|
|
static |
Definition at line 16 of file bbt.c.