Tesseract 3.01
/data/source/tesseract-ocr/wordrec/closed.cpp File Reference
#include "freelist.h"
#include "closed.h"
#include "cutil.h"
#include "callcpp.h"
#include <assert.h>

Defines

#define TABLE_SIZE   2000

Functions

hash_add

Look in the hash table for a particular value. If it is not there then add it.

int hash_add (HASH_TABLE state_table, STATE *state)
hash_lookup

Look in the hash table for a particular value. If the value is there then return TRUE, FALSE otherwise.

int hash_lookup (HASH_TABLE state_table, STATE *state)
new_hash_table

Create and initialize a hash table.

HASH_TABLE new_hash_table ()

Define Documentation

#define TABLE_SIZE   2000

Function Documentation

int hash_add ( HASH_TABLE  state_table,
STATE state 
)
int hash_lookup ( HASH_TABLE  state_table,
STATE state 
)
HASH_TABLE new_hash_table ( )
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines