SHOGUN v0.9.0
公有成员 | 保护属性
CDecompressString< ST >模板类参考

详细描述

template<class ST>
class shogun::CDecompressString< ST >

Preprocessor that decompresses compressed strings.

Each string in CStringFeatures might be stored compressed in memory. This preprocessor decompresses these strings on the fly. This may be especially usefull for long strings and when datasets become too large to fit in memoryin uncompressed form but still when they are compressed.

Then avoiding expensive disk i/o strings are on-the-fly decompressed.

在文件DecompressString.h36行定义。

继承图,类CDecompressString< ST >
Inheritance graph
[图例]

所有成员的列表。

公有成员

 CDecompressString (void)
 CDecompressString (E_COMPRESSION_TYPE ct)
virtual ~CDecompressString ()
virtual bool init (CFeatures *f)
 initialize preprocessor from features
virtual void cleanup ()
 cleanup
bool load (FILE *f)
 initialize preprocessor from file
bool save (FILE *f)
 save preprocessor init-data to file
virtual bool apply_to_string_features (CFeatures *f)
virtual ST * apply_to_string (ST *f, int32_t &len)
 apply preproc on single feature vector

保护属性

CCompressorcompressor

构造及析构函数文档

CDecompressString ( void  )

default constructor

在文件DecompressString.h40行定义。

constructor

在文件DecompressString.h48行定义。

virtual ~CDecompressString ( ) [virtual]

destructor

在文件DecompressString.h55行定义。


成员函数文档

virtual ST* apply_to_string ( ST *  f,
int32_t &  len 
) [virtual]

apply preproc on single feature vector

实现了CStringPreProc< ST >

在文件DecompressString.h115行定义。

virtual bool apply_to_string_features ( CFeatures f) [virtual]

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

实现了CStringPreProc< ST >

在文件DecompressString.h91行定义。

virtual void cleanup ( ) [virtual]

cleanup

实现了CPreProc

在文件DecompressString.h68行定义。

virtual bool init ( CFeatures f) [virtual]

initialize preprocessor from features

实现了CPreProc

在文件DecompressString.h61行定义。

bool load ( FILE *  f)

initialize preprocessor from file

在文件DecompressString.h73行定义。

bool save ( FILE *  f)

save preprocessor init-data to file

在文件DecompressString.h81行定义。


成员数据文档

CCompressor* compressor [protected]

compressor used to decompress strings

在文件DecompressString.h135行定义。


该类的文档由以下文件生成:

SHOGUN Machine Learning Toolbox - Documentation