#include <sent/stddefs.h>
#include <sent/htk_hmm.h>
#include <sent/htk_param.h>
#include <sent/hmm.h>
#include <sent/gprune.h>
#include "globalvars.h"
gprune_common.cのインクルード依存関係図
関数 | |
static int | find_insert_point (LOGPROB score, int len) |
int | cache_push (int id, LOGPROB score, int len) |
Store a score to the current list of computed Gaussians. |
gprune_common.c で定義されています。
|
Find where the new value should be inserted to the OP_cacled_score, already sorted by score, using binary search.
gprune_common.c の 48 行で定義されています。 参照元 cache_push(). |
|
Store a score to the current list of computed Gaussians. Store the calculated score of a Gaussian to OP_calced_score, with its corresponding mixture id to OP_calced_id. The OP_calced_score and OP_calced_id always holds the (OP_gprune_num)-best scores and ids. If the number of stored Gaussian from start has reached OP_gprune_num and the given score is below the bottom, it will be dropped. Else, the new score will be inserted and the bottom will be dropped from the list. The OP_calced_score will always kept sorted by the scores.
gprune_common.c の 87 行で定義されています。 参照元 gprune_beam(), gprune_heu(), と gprune_safe(). |