#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 |
Private Attributes | |
GenericVector< ParagraphModel * > * | models_ |
GenericVectorEqEq< ParagraphModel * > | models_we_added_ |
|
inlineexplicit |
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 |
|
inline |
|
inline |
void tesseract::ParagraphTheory::NonCenteredModels | ( | SetOfModels * | models | ) |
|
private |
|
private |