Next: Pointer Critical Bit Tree Associative Array, Up: Critical Bit Tree String Key Pointer Value Arrays [Index]
The critical bit tree associative array selects nodes with 1 bit. The tree is path compressed, it is not prefix compressed.
The tree is a binary tree, storing information in leaves only. All internal nodes have two children. For N items there exist N leaf nodes and N - 1 internal nodes.
General library:
See String Key Pointer Value Array Library.
bind
data insertion routine:
int x1f4_bind_s4path(void *, const char *, unsigned, const void ***);
case
data structure state retriever:
int x1f4_case_s4deck(void *);
fast
associative array constructor routine:
int x1f4_fast_s4deck(void *, unsigned, struct x1f4_s4deck_type *);
find
plain search routine:
int x1f4_find_s4path(void *, const char *, unsigned, const void **);
fini
associative array regular destructor routine:
int x1f4_fini_s4deck(void **);
flat
associative array destructor routine:
int x1f4_flat_s4deck(void *);
init
associative array regular constructor routine:
int x1f4_init_s4deck(void **, unsigned, struct x1f4_s4deck_type *);
lime
data traversal routine:
int x1f4_lime_s4deck(void *, void *, int (*)(void *, void *));
note
data traversal routine:
int x1f4_note_s4deck (void *, void *, int (*)(void *, const char *, unsigned));
pass
plain data deletion routine:
int x1f4_pass_s4path(void *, const char *, unsigned);
pick
plain search routine:
int x1f4_pick_s4path(void *, const char *, unsigned, const void ***);
post
plain data insertion routine:
int x1f4_post_s4path(void *, const char *, unsigned, const void *);
scan
supporting tree visiting routine:
int x1f4_scan_s4deck (void *, void *, int (*)(void *, const void *, unsigned));