CSortWord Class Reference

Inheritance diagram for CSortWord:

Inheritance graph
[legend]

List of all members.


Detailed Description

Preprocessor SortWord

Definition at line 21 of file SortWord.h.


Public Member Functions

 CSortWord ()
virtual ~CSortWord ()
virtual bool init (CFeatures *f)
 initialize preprocessor from features
virtual bool load_init_data (FILE *src)
 initialize preprocessor from file
virtual bool save_init_data (FILE *dst)
 save init-data (like transforamtion matrices etc) to file
virtual void cleanup ()
 cleanup
virtual bool load (FILE *f)
 initialize preprocessor from file
virtual bool save (FILE *f)
 save preprocessor init-data to file
virtual WORDapply_to_feature_matrix (CFeatures *f)
virtual WORDapply_to_feature_vector (WORD *f, INT &len)
virtual ST * apply_to_feature_vector (ST *f, INT &len)=0
virtual EFeatureClass get_feature_class ()
 return that we are simple features (just fixed size matrices)
virtual EFeatureType get_feature_type ()
 return feature type
template<>
EFeatureType get_feature_type ()
template<>
EFeatureType get_feature_type ()
template<>
EFeatureType get_feature_type ()
template<>
EFeatureType get_feature_type ()
template<>
EFeatureType get_feature_type ()
template<>
EFeatureType get_feature_type ()
const CHARget_name () const
 return the name of the preprocessor
const CHARget_id () const
 return a FOUR letter id of the preprocessor

Static Public Attributes

static CParallel parallel
static CIO io
static CVersion version

Protected Attributes

const CHARpreproc_name
const CHARpreproc_id

Constructor & Destructor Documentation

CSortWord::CSortWord (  ) 

constructor

Definition at line 18 of file SortWord.cpp.

CSortWord::~CSortWord (  )  [virtual]

Definition at line 23 of file SortWord.cpp.


Member Function Documentation

bool CSortWord::init ( CFeatures f  )  [virtual]

initialize preprocessor from features

Implements CPreProc.

Definition at line 28 of file SortWord.cpp.

bool CSortWord::load_init_data ( FILE *  src  )  [virtual]

initialize preprocessor from file

Implements CPreProc.

Definition at line 89 of file SortWord.cpp.

bool CSortWord::save_init_data ( FILE *  dst  )  [virtual]

save init-data (like transforamtion matrices etc) to file

Implements CPreProc.

Definition at line 95 of file SortWord.cpp.

void CSortWord::cleanup (  )  [virtual]

cleanup

clean up allocated memory

Implements CPreProc.

Definition at line 37 of file SortWord.cpp.

bool CSortWord::load ( FILE *  f  )  [virtual]

initialize preprocessor from file

Definition at line 42 of file SortWord.cpp.

bool CSortWord::save ( FILE *  f  )  [virtual]

save preprocessor init-data to file

Definition at line 48 of file SortWord.cpp.

WORD * CSortWord::apply_to_feature_matrix ( CFeatures f  )  [virtual]

apply preproc on feature matrix result in feature matrix return pointer to feature_matrix, i.e. f->get_feature_matrix();

apply preproc on feature matrix result in feature matrix return pointer to feature_matrix, i.e. f->get_feature_matrix();

Implements CSimplePreProc< ST >.

Definition at line 56 of file SortWord.cpp.

WORD * CSortWord::apply_to_feature_vector ( WORD f,
INT len 
) [virtual]

apply preproc on single feature vector result in feature matrix

apply preproc on single feature vector result in feature matrix

Definition at line 74 of file SortWord.cpp.

template<class ST>
virtual ST* CSimplePreProc< ST >::apply_to_feature_vector ( ST *  f,
INT len 
) [pure virtual, inherited]

apply preproc on single feature vector result in feature matrix

template<class ST>
virtual EFeatureClass CSimplePreProc< ST >::get_feature_class (  )  [virtual, inherited]

return that we are simple features (just fixed size matrices)

Implements CPreProc.

Definition at line 43 of file SimplePreProc.h.

template<class ST>
virtual EFeatureType CSimplePreProc< ST >::get_feature_type (  )  [virtual, inherited]

return feature type

Implements CPreProc.

template<>
EFeatureType CSimplePreProc< DREAL >::get_feature_type (  )  [virtual, inherited]

return feature type with which objects derived from CPreProc can deal

Implements CPreProc.

Definition at line 48 of file SimplePreProc.h.

template<>
EFeatureType CSimplePreProc< SHORT >::get_feature_type (  )  [virtual, inherited]

return feature type with which objects derived from CPreProc can deal

Implements CPreProc.

Definition at line 53 of file SimplePreProc.h.

template<>
EFeatureType CSimplePreProc< WORD >::get_feature_type (  )  [virtual, inherited]

return feature type with which objects derived from CPreProc can deal

Implements CPreProc.

Definition at line 58 of file SimplePreProc.h.

template<>
EFeatureType CSimplePreProc< CHAR >::get_feature_type (  )  [virtual, inherited]

return feature type with which objects derived from CPreProc can deal

Implements CPreProc.

Definition at line 63 of file SimplePreProc.h.

template<>
EFeatureType CSimplePreProc< BYTE >::get_feature_type (  )  [virtual, inherited]

return feature type with which objects derived from CPreProc can deal

Implements CPreProc.

Definition at line 68 of file SimplePreProc.h.

template<>
EFeatureType CSimplePreProc< ULONG >::get_feature_type (  )  [virtual, inherited]

return feature type with which objects derived from CPreProc can deal

Implements CPreProc.

Definition at line 73 of file SimplePreProc.h.

const CHAR* CPreProc::get_name (  )  const [inherited]

return the name of the preprocessor

Definition at line 56 of file PreProc.h.

const CHAR* CPreProc::get_id (  )  const [inherited]

return a FOUR letter id of the preprocessor

Definition at line 59 of file PreProc.h.


Member Data Documentation

const CHAR* CPreProc::preproc_name [protected, inherited]

preprocessor name

Definition at line 63 of file PreProc.h.

const CHAR* CPreProc::preproc_id [protected, inherited]

preprocessor id

Definition at line 65 of file PreProc.h.

CParallel CSGObject::parallel [static, inherited]

Definition at line 105 of file SGObject.h.

CIO CSGObject::io [static, inherited]

Definition at line 106 of file SGObject.h.

CVersion CSGObject::version [static, inherited]

Definition at line 107 of file SGObject.h.


The documentation for this class was generated from the following files:

SHOGUN Machine Learning Toolbox - Documentation