tesseract::TessLangModEdge Class Reference
#include <tess_lang_mod_edge.h>
List of all members.
Public Member Functions |
| | TessLangModEdge (CubeRecoContext *cntxt, const Dawg *edge_array, EDGE_REF edge, int class_id) |
| | TessLangModEdge (CubeRecoContext *cntxt, const Dawg *edge_array, EDGE_REF start_edge_idx, EDGE_REF end_edge_idx, int class_id) |
| | TessLangModEdge (CubeRecoContext *cntxt, int class_id) |
| | ~TessLangModEdge () |
| bool | IsRoot () const |
| void | SetRoot (bool flag) |
| bool | IsOOD () const |
| bool | IsNumber () const |
| bool | IsEOW () const |
| const Dawg * | GetDawg () const |
| EDGE_REF | StartEdge () const |
| EDGE_REF | EndEdge () const |
| EDGE_REF | EdgeMask () const |
| const char_32 * | EdgeString () const |
| int | ClassID () const |
| int | PathCost () const |
| void | SetEdgeMask (EDGE_REF edge_mask) |
| void | SetDawg (Dawg *dawg) |
| void | SetStartEdge (EDGE_REF edge_idx) |
| void | SetEndEdge (EDGE_REF edge_idx) |
| bool | IsTerminal () const |
| int | SignalCnt () const |
| double | SignalWgt (int signal) const |
| void | SetSignalWgt (int signal, double wgt) |
| int | Signal (int signal) |
| unsigned int | Hash () const |
| char * | Description () const |
| bool | IsIdentical (LangModEdge *lang_mod_edge) const |
Static Public Member Functions |
| static int | CreateChildren (CubeRecoContext *cntxt, const Dawg *edges, NODE_REF edge_reg, LangModEdge **lm_edges) |
Constructor & Destructor Documentation
| tesseract::TessLangModEdge::TessLangModEdge |
( |
CubeRecoContext * |
cntxt, |
|
|
int |
class_id | |
|
) |
| | |
| tesseract::TessLangModEdge::~TessLangModEdge |
( |
|
) |
[inline] |
Member Function Documentation
| int tesseract::TessLangModEdge::ClassID |
( |
|
) |
const [inline, virtual] |
| char * tesseract::TessLangModEdge::Description |
( |
|
) |
const [virtual] |
| EDGE_REF tesseract::TessLangModEdge::EdgeMask |
( |
|
) |
const [inline] |
| const char_32* tesseract::TessLangModEdge::EdgeString |
( |
|
) |
const [inline, virtual] |
| EDGE_REF tesseract::TessLangModEdge::EndEdge |
( |
|
) |
const [inline] |
| const Dawg* tesseract::TessLangModEdge::GetDawg |
( |
|
) |
const [inline] |
| unsigned int tesseract::TessLangModEdge::Hash |
( |
|
) |
const [inline, virtual] |
| bool tesseract::TessLangModEdge::IsEOW |
( |
|
) |
const [inline, virtual] |
| bool tesseract::TessLangModEdge::IsIdentical |
( |
LangModEdge * |
lang_mod_edge |
) |
const [inline, virtual] |
| bool tesseract::TessLangModEdge::IsNumber |
( |
|
) |
const [inline] |
| bool tesseract::TessLangModEdge::IsOOD |
( |
|
) |
const [inline, virtual] |
| bool tesseract::TessLangModEdge::IsRoot |
( |
|
) |
const [inline, virtual] |
| bool tesseract::TessLangModEdge::IsTerminal |
( |
|
) |
const [inline, virtual] |
| int tesseract::TessLangModEdge::PathCost |
( |
|
) |
const [inline, virtual] |
| void tesseract::TessLangModEdge::SetDawg |
( |
Dawg * |
dawg |
) |
[inline] |
| void tesseract::TessLangModEdge::SetEdgeMask |
( |
EDGE_REF |
edge_mask |
) |
[inline] |
| void tesseract::TessLangModEdge::SetEndEdge |
( |
EDGE_REF |
edge_idx |
) |
[inline] |
| void tesseract::TessLangModEdge::SetRoot |
( |
bool |
flag |
) |
[inline, virtual] |
| void tesseract::TessLangModEdge::SetSignalWgt |
( |
int |
signal, |
|
|
double |
wgt | |
|
) |
| | [inline] |
| void tesseract::TessLangModEdge::SetStartEdge |
( |
EDGE_REF |
edge_idx |
) |
[inline] |
| int tesseract::TessLangModEdge::Signal |
( |
int |
signal |
) |
[inline] |
| int tesseract::TessLangModEdge::SignalCnt |
( |
|
) |
const [inline] |
| double tesseract::TessLangModEdge::SignalWgt |
( |
int |
signal |
) |
const [inline] |
| EDGE_REF tesseract::TessLangModEdge::StartEdge |
( |
|
) |
const [inline] |
The documentation for this class was generated from the following files: