name: SearchLevel

synopsis:

g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_search.a

#include <SearchLevel.h>

SearchLevel();
SearchLevel(const SearchLevel& copy_slev);

boolean loadSymbols(Sof& sof, long tag = DEF_TAG);
boolean loadSubGraphs(Sof& sof, long tag = DEF_TAG);

boolean setLevelIndex(long num);
boolean setNumSubGraphs(long num);
DiGraph<SearchNode>& getSubGraph(long index);

boolean setBeam(boolean use_beam_prune = DEF_BEAM_PRUNE, float beam_threshold = DEF_BEAM_THRESHOLD)
boolean useBeam() const;

boolean setSymbolTable(Vector<SearchSymbol>& symbol_list);
long getSymbolIndex(const SearchSymbol& input_symbol) const;
boolean getSymbol(SearchSymbol& output_symbol, long index) const;
boolean isValidSymbol(long index) const;
quick start:

SearchLevel search_level;

// configure SearchLevel
//
Sof model_sof;
model_sof.open(L"model.sof");
long num_levels = 3;
search_engine.setNumLevels(num_levels);

// read models
//
for (long curr_level = 0; curr_level < num_levels; curr_level++) {
   SearchLevel& level = search_engine.getSearchLevel(curr_level);
   level.load(model_sof);
}
description:

SearchLevel class represents a particular level in the search hierarchy for a hierarchical search engine. Each level has the following characteristics:
dependencies:

public constants:

error codes:

protected data:

required public methods:

class-specific public methods:

private methods:

examples:

notes: