#include <paragraphs_internal.h>
List of all members.
Detailed Description
Definition at line 189 of file paragraphs_internal.h.
Constructor & Destructor Documentation
Member Function Documentation
Definition at line 1163 of file paragraphs.cpp.
{
for (
int i = 0; i < models_->
size(); i++) {
if ((*models_)[i]->Comparable(model))
return (*models_)[i];
}
return m;
}
void tesseract::ParagraphTheory::DiscardUnusedModels |
( |
const SetOfModels & |
used_models | ) |
|
Definition at line 1174 of file paragraphs.cpp.
{
for (
int i = models_->
size() - 1; i >= 0; i--) {
if (!used_models.contains(m) && models_we_added_.
contains(m)) {
delete m;
}
}
}
Definition at line 1188 of file paragraphs.cpp.
{
for (
int m = 0; m < models_->
size(); m++) {
return model;
}
}
int tesseract::ParagraphTheory::IndexOf |
( |
const ParagraphModel * |
model | ) |
const |
Definition at line 1207 of file paragraphs.cpp.
{
for (
int i = 0; i < models_->
size(); i++) {
if ((*models_)[i] == model)
return i;
}
return -1;
}
void tesseract::ParagraphTheory::NonCenteredModels |
( |
SetOfModels * |
models | ) |
|
The documentation for this class was generated from the following files: