#include <altlist.h>
Public Member Functions | |
| AltList (int max_alt) | |
| virtual | ~AltList () |
| virtual void | Sort ()=0 |
| int | BestCost (int *best_alt) const |
| int | AltCount () const |
| int | AltCost (int alt_idx) const |
| double | AltProb (int alt_idx) const |
| void * | AltTag (int alt_idx) const |
Protected Attributes | |
| int | max_alt_ |
| int | alt_cnt_ |
| int * | alt_cost_ |
| void ** | alt_tag_ |
|
explicit |
Definition at line 25 of file altlist.cpp.
|
virtual |
Definition at line 32 of file altlist.cpp.
|
inline |
|
inline |
|
inline |
| int tesseract::AltList::BestCost | ( | int * | best_alt | ) | const |
Definition at line 45 of file altlist.cpp.
|
pure virtual |
Implemented in tesseract::CharAltList, and tesseract::WordAltList.