#include <paragraphs_internal.h>
Public Member Functions | |
ParagraphTheory (GenericVector< ParagraphModel * > *models) | |
GenericVector< ParagraphModel * > & | models () |
const GenericVector < ParagraphModel * > & | models () const |
const ParagraphModel * | AddModel (const ParagraphModel &model) |
void | DiscardUnusedModels (const SetOfModels &used_models) |
void | NonCenteredModels (SetOfModels *models) |
const ParagraphModel * | Fits (const GenericVector< RowScratchRegisters > *rows, int start, int end) const |
int | IndexOf (const ParagraphModel *model) const |
tesseract::ParagraphTheory::ParagraphTheory | ( | GenericVector< ParagraphModel * > * | models | ) | [inline, explicit] |
const ParagraphModel * tesseract::ParagraphTheory::AddModel | ( | const ParagraphModel & | model | ) |
void tesseract::ParagraphTheory::DiscardUnusedModels | ( | const SetOfModels & | used_models | ) |
const ParagraphModel * tesseract::ParagraphTheory::Fits | ( | const GenericVector< RowScratchRegisters > * | rows, | |
int | start, | |||
int | end | |||
) | const |
int tesseract::ParagraphTheory::IndexOf | ( | const ParagraphModel * | model | ) | const |
const GenericVector<ParagraphModel *>& tesseract::ParagraphTheory::models | ( | ) | const [inline] |
GenericVector<ParagraphModel *>& tesseract::ParagraphTheory::models | ( | ) | [inline] |
void tesseract::ParagraphTheory::NonCenteredModels | ( | SetOfModels * | models | ) |