quick start:g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_search.a #include <SearchNode.h> ~SearchNode(); SearchNode(); SearchNode(const SearchNode& copy_sym); SearchNode(const String& symbol);
description:#include <SearchNode.h> SearchNode search_node; SearchSymbol state_sym_1; state_sym_1.assign(L"ae_1"); search_node.setSymbol(state_sym_1); GaussianModel gauss_model; search_node.setStatisticalModel(&gauss_model); Trace new_trace; search_node.addTrace(&new_trace); search_node.clearTraceList();
static const String CLASS_NAME;
static const String DEF_PARAM;
static const long DEF_SYMBOL_ID = -1;
static const long DEF_DUMMY_SYMBOL_ID = -100;
static const long DEF_TIMESTAMP = -1;
static const float INACTIVE_SCORE = -11111111111111.0f;
static const long ERR = 90300;
Long symbol_id_d;
StatisticalModel* stat_model_d;
SearchLevel* level_d;
DoubleLinkedList<Trace> traces_d;
long timestamp_d;
float score_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);
~SearchNode();
SearchNode();
SearchNode(const SearchNode& arg);
boolean assign(const SearchNode& copy_node);
long sofSize() const;
boolean read(Sof& sof, long tag, const String& name = CLASS_NAME);
boolean readData(Sof& sof, const String& pname = DEF_PARAM, long size = SofParser::FULL_OBJECT, boolean param = true, boolean nested = false);
boolean write(Sof& sof, long tag, const String& name = CLASS_NAME) const;
boolean writeData(Sof& sof, const String& pname = DEF_PARAM) const;
boolean eq(const SearchNode& 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 setSymbolId(long symbol_id);
long getSymbolId() const;
boolean setSymbol(const SearchSymbol& symbol);
boolean getSymbol(SearchSymbol& output_symbol) const;
boolean setStatisticalModel(StatisticalModel* model);
StatisticalModel* getStatisticalModel() const;
boolean setScore(float score);
float getScore() const;
boolean setSearchLevel(SearchLevel* level);
SearchLevel* getSearchLevel() const;
boolean setLexicalTree(LexicalTree* lex_tree_a);
LexicalTree* getLexicalTree() const;
boolean addTrace(Trace* trace, long timestamp, Trace*& ptr);
boolean mergeTrace(Trace* trace, long timestamp, Trace*& pt, long nsymbol_index, long nsymbol_orderr);
boolean removeTrace(Trace* trace);
boolean clearTraceList();
boolean addInstance(Instance* instance, long timestamp, Instance*& ptr);
boolean insertInstance(Instance* instance, long timestamp, Instance*& ptr);
boolean mergeInstance(Instance* instance, long timestamp, Instance*& ptr, long nsymbol_index, long nsymbol_order);
boolean removeInstance(Instance* instance);
boolean clearInstanceList();
float evaluateData(VectorFloat& data, long timestamp);
boolean isDummyNode() const;
boolean addWithViterbi(Trace* trace, Trace*& ptr);
boolean addWithBaumWelch(Trace* trace, Trace*& ptr);
boolean addWithViterbi(Instance* instance, Instance*& ptr);
boolean insertWithViterbi(Instance* instance, Instance*& ptr);
boolean addWithBaumWelch(Instance* instance, Instance*& ptr);