quick start:g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_search.a #include <NBestPath.h> long getNumPaths() const; boolean setPaths(SingleLinkedList<NBestNode>& arg); SingleLinkedList<NBestNode>& getPaths(); boolean setFrameIndex(long arg); long getFrameIndex(); boolean setMaxScore(float arg); float getMaxScore(); boolean insertPath(NBestNode* path); boolean growPaths(NBestPath**& path_list, float scale, float penalty, long max_paths, float beam); boolean prune(float beam, long max_paths);
description:long nbest_beam = 50; long max_paths = 10; NBestNode nnode; NBestPath npath; npath.insertPath(nnode); npath.prune(nbest_beam, max_paths);
static const String CLASS_NAME;
static const String DEF_PARAM;
static const float DEF_MAX_SCORE = -1.0e10;
static const long DEF_FRAME_INDEX = 0;
SingleLinkedList<NBestNode> paths_d;
Long frame_index_d;
Float max_score_d;
static MemoryManager mgr_d;
static Integral::DEBUG debug_level_d;
static const String& name();
static boolean diagnose(Integral::DEBUG debug_level);
static boolean setDebug(Integral::DEBUG debug_level);
~NBestPath();
NBestPath();
NBestPath(const NBestPath& copy_sym);
boolean assign(const NBestPath& copy_node);
NBestPath& operator=(const NBestPath& arg);
long sofSize() const;
boolean read(Sof& sof, long tag, const String& cname = 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& cname = CLASS_NAME) const;
boolean writeData(Sof& sof, const String& pname = DEF_PARAM) const;
boolean eq(const NBestPath& obj) 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);
long getNumPaths() const;
boolean setPaths(SingleLinkedList<NBestNode>& arg);
SingleLinkedList<NBestNode>& getPaths();
boolean setFrameIndex(long arg);
long getFrameIndex();
boolean setMaxScore(float arg);
float getMaxScore();
boolean insertPath(NBestNode* path);
boolean growPaths(NBestPath**& path_list, float scale, float penalty, long max_paths, float beam);
boolean prune(float beam, long max_paths);