tesseract 3.04.01

tesseract::BestChoiceBundle Struct Reference

Bundle together all the things pertaining to the best choice/state. More...

#include <lm_state.h>

List of all members.

Public Member Functions

 BestChoiceBundle (int matrix_dimension)
 ~BestChoiceBundle ()

Public Attributes

bool updated
 Flag to indicate whether anything was changed.
DANGERR fixpt
 Places to try to fix the word suggested by ambiguity checking.
PointerVector< LanguageModelStatebeam
ViterbiStateEntrybest_vse
 Best ViterbiStateEntry and BLOB_CHOICE.

Detailed Description

Bundle together all the things pertaining to the best choice/state.

Definition at line 219 of file lm_state.h.


Constructor & Destructor Documentation

tesseract::BestChoiceBundle::BestChoiceBundle ( int  matrix_dimension) [inline, explicit]

Definition at line 220 of file lm_state.h.

    : updated(false), best_vse(NULL) {
    beam.reserve(matrix_dimension);
    for (int i = 0; i < matrix_dimension; ++i)
      beam.push_back(new LanguageModelState);
  }
tesseract::BestChoiceBundle::~BestChoiceBundle ( ) [inline]

Definition at line 226 of file lm_state.h.

{}

Member Data Documentation

The beam. One LanguageModelState containing a list of ViterbiStateEntry per row in the ratings matrix containing all VSEs whose BLOB_CHOICE is somewhere in the corresponding row.

Definition at line 235 of file lm_state.h.

Places to try to fix the word suggested by ambiguity checking.

Definition at line 231 of file lm_state.h.

Flag to indicate whether anything was changed.

Definition at line 229 of file lm_state.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines