name: Hypothesis

synopsis:
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);
quick start:
#include <Hypothesis.h>

Trace new_trace;
float socre = -793.83;
Hypothesis hyp(new_trace, score);

Stack stack;
stack.push(&hypothesis);
description:

The Hypothesis class represents a word level search hypothesis in the stack search algorithm. It consists of a trace pointer and an estimate of the total score of this search hypothesis. The Hypothesis object is stored in the PriorityQueue of the StackSearch object. It is not enough to store only a Trace pointer in the PriorityQueue of StackSearch, because the Trace contains only exact score of the path so far. Since we need an estimate of the total score, we use Hypothesis, which contains an estimate of total score of the path (the score to the goal node).

dependencies:

public constants:

error codes:

protected data:

required public methods:

class-specific public methods:

examples:

notes: