#include <altlist.h>
List of all members.
Detailed Description
Definition at line 30 of file altlist.h.
Constructor & Destructor Documentation
tesseract::AltList::AltList |
( |
int |
max_alt | ) |
|
|
explicit |
tesseract::AltList::~AltList |
( |
| ) |
|
|
virtual |
Member Function Documentation
int tesseract::AltList::AltCost |
( |
int |
alt_idx | ) |
const |
|
inline |
int tesseract::AltList::AltCount |
( |
| ) |
const |
|
inline |
double tesseract::AltList::AltProb |
( |
int |
alt_idx | ) |
const |
|
inline |
void* tesseract::AltList::AltTag |
( |
int |
alt_idx | ) |
const |
|
inline |
int tesseract::AltList::BestCost |
( |
int * |
best_alt | ) |
const |
Definition at line 45 of file altlist.cpp.
{
(*best_alt) = -1;
return -1;
}
int best_alt_idx = 0;
for (
int alt_idx = 1; alt_idx <
alt_cnt_; alt_idx++) {
best_alt_idx = alt_idx;
}
}
(*best_alt) = best_alt_idx;
}
virtual void tesseract::AltList::Sort |
( |
| ) |
|
|
pure virtual |
Member Data Documentation
int tesseract::AltList::alt_cnt_ |
|
protected |
int* tesseract::AltList::alt_cost_ |
|
protected |
void** tesseract::AltList::alt_tag_ |
|
protected |
int tesseract::AltList::max_alt_ |
|
protected |
The documentation for this class was generated from the following files: