公有成员 | 保护成员 | 保护属性

CRealFileFeatures类参考


详细描述

The class RealFileFeatures implements a dense double-precision floating point matrix from a file.

It inherits its functionality from CSimpleFeatures, which should be consulted for further reference.

在文件RealFileFeatures.h25行定义。

继承图,类CRealFileFeatures
Inheritance graph
[图例]

所有成员的列表。

公有成员

 CRealFileFeatures (int32_t size, FILE *file)
 CRealFileFeatures (int32_t size, char *filename)
 CRealFileFeatures (const CRealFileFeatures &orig)
virtual ~CRealFileFeatures ()
virtual float64_tload_feature_matrix ()
int32_t get_label (int32_t idx)
virtual const char * get_name () const

保护成员

virtual float64_tcompute_feature_vector (int32_t num, int32_t &len, float64_t *target=NULL)
bool load_base_data ()

保护属性

FILE * working_file
char * working_filename
bool status
int32_t * labels
uint8_t intlen
uint8_t doublelen
uint32_t endian
uint32_t fourcc
uint32_t preprocd
int64_t filepos

构造及析构函数文档

CRealFileFeatures ( int32_t  size,
FILE *  file 
)

constructor

参数:
size cache size
file file to load features from

在文件RealFileFeatures.cpp35行定义。

CRealFileFeatures ( int32_t  size,
char *  filename 
)

constructor

参数:
size cache size
filename filename to load features from

在文件RealFileFeatures.cpp20行定义。

CRealFileFeatures ( const CRealFileFeatures orig  ) 

copy constructor

在文件RealFileFeatures.cpp55行定义。

~CRealFileFeatures (  )  [virtual]

在文件RealFileFeatures.cpp48行定义。


成员函数文档

float64_t * compute_feature_vector ( int32_t  num,
int32_t &  len,
float64_t target = NULL 
) [protected, virtual]

compute feature vector for sample num len is returned by reference

参数:
num num
len len
target target

重载CSimpleFeatures< float64_t >

在文件RealFileFeatures.cpp67行定义。

int32_t get_label ( int32_t  idx  ) 

get label at given index

参数:
idx index to look at
返回:
label at given index

在文件RealFileFeatures.cpp107行定义。

virtual const char* get_name (  )  const [virtual]
返回:
object name

重载CSimpleFeatures< float64_t >

在文件RealFileFeatures.h61行定义。

bool load_base_data (  )  [protected]

load base data

返回:
if loading was successful

在文件RealFileFeatures.cpp115行定义。

float64_t * load_feature_matrix (  )  [virtual]

load feature matrix

返回:
loaded feature matrix

在文件RealFileFeatures.cpp81行定义。


成员数据文档

uint8_t doublelen [protected]

doublelen

在文件RealFileFeatures.h113行定义。

uint32_t endian [protected]

endian

在文件RealFileFeatures.h115行定义。

int64_t filepos [protected]

filepos

在文件RealFileFeatures.h121行定义。

uint32_t fourcc [protected]

fourcc

在文件RealFileFeatures.h117行定义。

uint8_t intlen [protected]

intlen

在文件RealFileFeatures.h111行定义。

int32_t* labels [protected]

labels

在文件RealFileFeatures.h108行定义。

uint32_t preprocd [protected]

preprocd

在文件RealFileFeatures.h119行定义。

bool status [protected]

status

在文件RealFileFeatures.h106行定义。

FILE* working_file [protected]

working file

在文件RealFileFeatures.h102行定义。

char* working_filename [protected]

working filename

在文件RealFileFeatures.h104行定义。


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

SHOGUN Machine Learning Toolbox - Documentation