#include <altlist.h>
Definition at line 30 of file altlist.h.
◆ AltList()
tesseract::AltList::AltList |
( |
int |
max_alt | ) |
|
|
explicit |
◆ ~AltList()
tesseract::AltList::~AltList |
( |
| ) |
|
|
virtual |
◆ AltCost()
int tesseract::AltList::AltCost |
( |
int |
alt_idx | ) |
const |
|
inline |
◆ AltCount()
int tesseract::AltList::AltCount |
( |
| ) |
const |
|
inline |
◆ AltProb()
double tesseract::AltList::AltProb |
( |
int |
alt_idx | ) |
const |
|
inline |
Definition at line 43 of file altlist.h.
static double Cost2Prob(int cost)
int AltCost(int alt_idx) const
◆ AltTag()
void* tesseract::AltList::AltTag |
( |
int |
alt_idx | ) |
const |
|
inline |
◆ BestCost()
int tesseract::AltList::BestCost |
( |
int * |
best_alt | ) |
const |
Definition at line 45 of file altlist.cpp.
52 for (
int alt_idx = 1; alt_idx <
alt_cnt_; alt_idx++) {
54 best_alt_idx = alt_idx;
57 (*best_alt) = best_alt_idx;
◆ Sort()
virtual void tesseract::AltList::Sort |
( |
| ) |
|
|
pure virtual |
◆ alt_cnt_
int tesseract::AltList::alt_cnt_ |
|
protected |
◆ alt_cost_
int* tesseract::AltList::alt_cost_ |
|
protected |
◆ alt_tag_
void** tesseract::AltList::alt_tag_ |
|
protected |
◆ max_alt_
int tesseract::AltList::max_alt_ |
|
protected |
The documentation for this class was generated from the following files: