Tesseract 3.01
tesseract::SearchNode Class Reference

#include <search_node.h>

List of all members.

Public Member Functions

 SearchNode (CubeRecoContext *cntxt, SearchNode *parent_node, int char_reco_cost, LangModEdge *edge, int col_idx)
 ~SearchNode ()
bool UpdateParent (SearchNode *new_parent, int new_reco_cost, LangModEdge *new_edge)
char_32 * PathString ()
const char_32 * NodeString ()
void SetString (char_32 *str)
int CharRecoCost ()
int BestPathRecoCost ()
int BestPathLength ()
int BestCost ()
int BestRecoCost ()
int ColIdx ()
SearchNode * ParentNode ()
LangModEdge * LangModelEdge ()
int LangModCost ()

Static Public Member Functions

static bool IdenticalPath (SearchNode *node1, SearchNode *node2)
static int SearchNodeComparer (const void *node1, const void *node2)

Constructor & Destructor Documentation

tesseract::SearchNode::SearchNode ( CubeRecoContext *  cntxt,
SearchNode *  parent_node,
int  char_reco_cost,
LangModEdge *  edge,
int  col_idx 
)
tesseract::SearchNode::~SearchNode ( )

Member Function Documentation

int tesseract::SearchNode::BestCost ( ) [inline]
int tesseract::SearchNode::BestPathLength ( ) [inline]
int tesseract::SearchNode::BestPathRecoCost ( ) [inline]
int tesseract::SearchNode::BestRecoCost ( ) [inline]
int tesseract::SearchNode::CharRecoCost ( ) [inline]
int tesseract::SearchNode::ColIdx ( ) [inline]
bool tesseract::SearchNode::IdenticalPath ( SearchNode *  node1,
SearchNode *  node2 
) [static]
int tesseract::SearchNode::LangModCost ( ) [inline]
LangModEdge* tesseract::SearchNode::LangModelEdge ( ) [inline]
const char_32* tesseract::SearchNode::NodeString ( ) [inline]
SearchNode* tesseract::SearchNode::ParentNode ( ) [inline]
char_32 * tesseract::SearchNode::PathString ( )
static int tesseract::SearchNode::SearchNodeComparer ( const void *  node1,
const void *  node2 
) [inline, static]
void tesseract::SearchNode::SetString ( char_32 *  str) [inline]
bool tesseract::SearchNode::UpdateParent ( SearchNode *  new_parent,
int  new_reco_cost,
LangModEdge *  new_edge 
)

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines