quick start:g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_search.a #include <Hypothesis.h> ~Hypothesis(); Hypothesis(); Hypothesis(const Hypothesis& copy_hyp); Hypothesis(const String& hyp);
description:#include <Hypothesis.h> Trace new_trace; float socre = -793.83; Hypothesis hyp(new_trace, score); Stackstack; stack.push(&hypothesis);
static const String CLASS_NAME;
static const long ERR = 90200;
static const long READ = 90201;
float score_d;
Trace* trace_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);
~Hypothesis();
Hypothesis(Trace* trace = NULL, float score = 0);
Hypothesis(const Hypothesis& arg);
boolean assign(const Hypothesis& copy_hyp);
Hypothesis& operator = (const Hypothesis& arg);
boolean operator > (const Hypothesis& arg);
boolean operator < (const Hypothesis& arg);
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 = String::EMPTY, long size = SofParser::FULL_OBJECT, boolean param = true, boolean nested = false);
boolean writeData(Sof& sof, const String& pname = DEF_PARAM) 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);
float getScore();
Trace* getTrace();