#include <sent/stddefs.h>
#include <sent/ptree.h>
aptree.cのインクルード依存関係図
関数 | |
static APATNODE * | new_node () |
static int | testbit_local (int bitplace) |
static void * | aptree_search_data_r (APATNODE *node) |
void * | aptree_search_data (char *str, APATNODE *node) |
APATNODE * | aptree_make_root_node (void *data) |
static void | aptree_add_entry_at (char *str, int bitloc, void *data, APATNODE **parentlink) |
void | aptree_add_entry (char *str, void *data, char *matchstr, APATNODE **rootnode) |
static void | aptree_remove_entry_r (APATNODE *now, APATNODE *up, APATNODE *up2) |
void | aptree_remove_entry (char *str, APATNODE **rootnode) |
void | aptree_traverse_and_do (APATNODE *node, void(*callback)(void *)) |
void | free_aptree (APATNODE *node) |
変数 | |
static char * | tmp_str |
Local work area: current string we are searching for. | |
static int | maxbitplace |
Local work area: Maximum bit length of tmp_str. | |
static APATNODE * | tmproot |
Work area to hold current root node for removing entry. |
aptree.c で定義されています。
|
Allocate a new node.
参照元 aptree_add_entry_at(), aptree_make_root_node(), make_ptree(), ptree_add_entry_at(), と ptree_make_root_node(). |
|
Local bit test function for search.
参照元 aptree_remove_entry_r(), aptree_search_data_r(), と ptree_search_data_r(). |
|
Recursive function to search the data in the tree
参照元 aptree_search_data(). |
|
Search for the data whose key string matches the given string.
参照元 add_to_error(), cdset_lookup(), codebook_add(), codebook_lookup(), dens_add(), dens_lookup(), hmm_add_physical_to_logical(), hmm_add_pseudo_phones_sub(), htk_hmmdata_add(), htk_hmmdata_lookup_logical(), htk_hmmdata_lookup_physical(), lcdset_lookup_with_category(), make_hmm_basephone_list(), mark_word_edge(), new_str2phseq(), rdhmmlist(), regist_cdset(), remove_cdset(), state_add(), state_lookup(), trans_add(), trans_lookup(), var_add(), と var_lookup(). |
|
Make a root node of a index tree.
参照元 add_to_error(), aptree_add_entry(), codebook_add(), dens_add(), hmm_add_physical_to_logical(), hmm_add_pseudo_phones_sub(), htk_hmmdata_add(), make_hmm_basephone_list(), rdhmmlist(), regist_cdset(), state_add(), trans_add(), と var_add(). |
|
Insert a new node to the existing index tree.
参照元 aptree_add_entry(). |
|
Insert a new node to the index tree.
参照元 add_to_error(), codebook_add(), dens_add(), hmm_add_physical_to_logical(), hmm_add_pseudo_phones_sub(), htk_hmmdata_add(), make_hmm_basephone_list(), rdhmmlist(), regist_cdset(), state_add(), trans_add(), と var_add(). |
|
Recursive sunction to find and remove an entry.
|
|
Remove a node from the index tree.
参照元 remove_cdset(). |
|
Recursive function to traverse index tree and execute the callback for all the existing data.
参照元 aptree_traverse_and_do(), count_all_phone(), lcdset_remove_with_category_all(), print_all_basephone_detail(), print_all_basephone_name(), put_all_cdinfo(), test_interword_triphone(), triphone_callback_left(), と wt_tmix(). |
|
Free all the sub nodes from specified node.
|