tesseract::IntFeatureMap Class Reference

#include <intfeaturemap.h>

List of all members.

Public Member Functions

 IntFeatureMap ()
 ~IntFeatureMap ()
int sparse_size () const
int compact_size () const
const IntFeatureSpacefeature_space () const
const IndexMapBiDifeature_map () const
int IndexFeature (const INT_FEATURE_STRUCT &f) const
int MapFeature (const INT_FEATURE_STRUCT &f) const
int MapIndexFeature (int index_feature) const
INT_FEATURE_STRUCT InverseIndexFeature (int index_feature) const
INT_FEATURE_STRUCT InverseMapFeature (int map_feature) const
void DeleteMapFeature (int map_feature)
bool IsMapFeatureDeleted (int map_feature) const
void Init (const IntFeatureSpace &feature_space)
int OffsetFeature (int index_feature, int dir) const
int FindNZFeatureMapping (SampleIterator *it)
int FinalizeMapping (SampleIterator *it)
void IndexAndSortFeatures (const INT_FEATURE_STRUCT *features, int num_features, GenericVector< int > *sorted_features) const
int MapIndexedFeatures (const GenericVector< int > &index_features, GenericVector< int > *map_features) const
void DebugMapFeatures (const GenericVector< int > &map_features) const

Constructor & Destructor Documentation

tesseract::IntFeatureMap::IntFeatureMap (  ) 
tesseract::IntFeatureMap::~IntFeatureMap (  ) 

Member Function Documentation

int tesseract::IntFeatureMap::compact_size (  )  const [inline]
void tesseract::IntFeatureMap::DebugMapFeatures ( const GenericVector< int > &  map_features  )  const
void tesseract::IntFeatureMap::DeleteMapFeature ( int  map_feature  ) 
const IndexMapBiDi& tesseract::IntFeatureMap::feature_map (  )  const [inline]
const IntFeatureSpace& tesseract::IntFeatureMap::feature_space (  )  const [inline]
int tesseract::IntFeatureMap::FinalizeMapping ( SampleIterator it  ) 
int tesseract::IntFeatureMap::FindNZFeatureMapping ( SampleIterator it  ) 
void tesseract::IntFeatureMap::IndexAndSortFeatures ( const INT_FEATURE_STRUCT features,
int  num_features,
GenericVector< int > *  sorted_features 
) const [inline]
int tesseract::IntFeatureMap::IndexFeature ( const INT_FEATURE_STRUCT f  )  const
void tesseract::IntFeatureMap::Init ( const IntFeatureSpace feature_space  ) 
INT_FEATURE_STRUCT tesseract::IntFeatureMap::InverseIndexFeature ( int  index_feature  )  const
INT_FEATURE_STRUCT tesseract::IntFeatureMap::InverseMapFeature ( int  map_feature  )  const
bool tesseract::IntFeatureMap::IsMapFeatureDeleted ( int  map_feature  )  const
int tesseract::IntFeatureMap::MapFeature ( const INT_FEATURE_STRUCT f  )  const
int tesseract::IntFeatureMap::MapIndexedFeatures ( const GenericVector< int > &  index_features,
GenericVector< int > *  map_features 
) const [inline]
int tesseract::IntFeatureMap::MapIndexFeature ( int  index_feature  )  const
int tesseract::IntFeatureMap::OffsetFeature ( int  index_feature,
int  dir 
) const
int tesseract::IntFeatureMap::sparse_size (  )  const [inline]

The documentation for this class was generated from the following files:
Generated on Thu Feb 2 08:19:26 2012 for Tesseract by  doxygen 1.6.3