quick start:gcc [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_search.a #include <TrainNode.h> ~TrainNode(); TrainNode(); TrainNode(const TrainNode& copy_sym);
description:#include <TrainNode.h> TrainNode train_node; float alpha = -0.3657; float beta = -0.7865; Trace new_trace; train_node.setAlpha(alpha); train_node.setBeta(beta); train_node.setTrace(&new_trace);
static const String CLASS_NAME;
static const String DEF_PARAM;
static const long DEF_TIMESTAMP = -1;
long frame_d;
double beta_d;
double alpha_d;
double score_d;
boolean is_valid_d;
boolean is_alpha_valid_d;
boolean is_beta_valid_d;
boolean is_accum_valid_d;
void* reference_d;
StatisticalModel* stat_model_d;
static MemoryManager mgr_d;
static Integral::DEBUG debug_level_d;
static const String& name();
static boolean diagnose(Integral::DEBUG debug_level);
boolean debug(const unichar* message) const;
static boolean setDebug(Integral::DEBUG debug_level);
~TrainNode();
TrainNode();
TrainNode(const TrainNode& arg);
boolean assign(const TrainNode& copy_node);
long sofSize() const;
boolean read(Sof& sof, long tag, const String& name = CLASS_NAME);
boolean write(Sof& sof, long tag, const String& name = CLASS_NAME) const;
boolean readData(Sof& sof, const String& pname = DEF_PARAM, long size = SofParser::FULL_OBJECT, boolean param = true, boolean nested = false) const;
boolean writeData(Sof& sof, const String& pname = DEF_PARAM) const;
boolean eq(const TrainNode& compare_node) const;
static void* operator new(size_t size);
static void* operator new[](size_t size);
static void operator delete(void* ptr);
static void operator delete[](void* ptr);
static boolean setGrowSize(long grow_size);
boolean clear(Integral::CMODE ctype = Integral::DEF_CMODE);
boolean setAlpha(float arg);
double getAlpha();
boolean setBeta(float arg);
double getBeta();
boolean setFrame(long arg);
long getFrame();
boolean setScore(double arg);
double getScore();
boolean setReference(void* arg);
void* getReference();
boolean setStatisticalModel(StatisticalModel* arg);
StatisticalModel* getStatisticalModel();
boolean getValidModel();
boolean setValidNode(boolean arg);
boolean getValidNode();
boolean update(VectorFloat& param);
boolean accumulate(float utter_prob, Vector& data, float min_mpd, float min_occupancy);
boolean setAlphaValid(boolean arg = true);
boolean isAlphaValid();
boolean setBetaValid(boolean arg = true);
boolean isBetaValid();
boolean setAccumulatorValid(boolean arg = true);
boolean isAccumulatorValid();