tesseract
4.00.00dev
|
#include <indexmapbidi.h>
Public Member Functions | |
virtual | ~IndexMapBiDi () |
void | InitAndSetupRange (int sparse_size, int start, int end) |
void | Init (int size, bool all_mapped) |
void | SetMap (int sparse_index, bool mapped) |
void | Setup () |
bool | Merge (int compact_index1, int compact_index2) |
bool | IsCompactDeleted (int index) const |
void | CompleteMerges () |
virtual int | SparseToCompact (int sparse_index) const |
virtual int | SparseSize () const |
void | CopyFrom (const IndexMapBiDi &src) |
bool | Serialize (FILE *fp) const |
bool | DeSerialize (bool swap, FILE *fp) |
int | MapFeatures (const GenericVector< int > &sparse, GenericVector< int > *compact) const |
![]() | |
virtual | ~IndexMap () |
int | CompactToSparse (int compact_index) const |
int | CompactSize () const |
void | CopyFrom (const IndexMap &src) |
void | CopyFrom (const IndexMapBiDi &src) |
bool | Serialize (FILE *fp) const |
bool | DeSerialize (bool swap, FILE *fp) |
Additional Inherited Members | |
![]() | |
int | sparse_size_ |
GenericVector< inT32 > | compact_map_ |
Definition at line 102 of file indexmapbidi.h.
|
inlinevirtual |
Definition at line 104 of file indexmapbidi.h.
void tesseract::IndexMapBiDi::CompleteMerges | ( | ) |
Definition at line 153 of file indexmapbidi.cpp.
void tesseract::IndexMapBiDi::CopyFrom | ( | const IndexMapBiDi & | src | ) |
Definition at line 112 of file indexmapbidi.cpp.
bool tesseract::IndexMapBiDi::DeSerialize | ( | bool | swap, |
FILE * | fp | ||
) |
Definition at line 209 of file indexmapbidi.cpp.
void tesseract::IndexMapBiDi::Init | ( | int | size, |
bool | all_mapped | ||
) |
Definition at line 79 of file indexmapbidi.cpp.
Definition at line 68 of file indexmapbidi.cpp.
|
inline |
Definition at line 130 of file indexmapbidi.h.
int tesseract::IndexMapBiDi::MapFeatures | ( | const GenericVector< int > & | sparse, |
GenericVector< int > * | compact | ||
) | const |
Definition at line 229 of file indexmapbidi.cpp.
Definition at line 121 of file indexmapbidi.cpp.
bool tesseract::IndexMapBiDi::Serialize | ( | FILE * | fp | ) | const |
Definition at line 191 of file indexmapbidi.cpp.
void tesseract::IndexMapBiDi::SetMap | ( | int | sparse_index, |
bool | mapped | ||
) |
Definition at line 88 of file indexmapbidi.cpp.
void tesseract::IndexMapBiDi::Setup | ( | ) |
Definition at line 95 of file indexmapbidi.cpp.
|
inlinevirtual |
Reimplemented from tesseract::IndexMap.
Definition at line 138 of file indexmapbidi.h.