CGNPPLib类参考


详细描述

class GNPPLib, a Library of solvers for Generalized Nearest Point Problem (GNPP).

在文件gnpplib.h第31行定义。

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

所有成员的列表。

公有成员

 CGNPPLib (float64_t *vector_y, CKernel *kernel, int32_t num_data, float64_t reg_const)
virtual ~CGNPPLib ()
int8_t gnpp_mdm (float64_t *diag_H, float64_t *vector_c, float64_t *vector_y, int32_t dim, int32_t tmax, float64_t tolabs, float64_t tolrel, float64_t th, float64_t *alpha, int32_t *ptr_t, float64_t *ptr_aHa11, float64_t *ptr_aHa22, float64_t **ptr_History, int32_t verb)
int8_t gnpp_imdm (float64_t *diag_H, float64_t *vector_c, float64_t *vector_y, int32_t dim, int32_t tmax, float64_t tolabs, float64_t tolrel, float64_t th, float64_t *alpha, int32_t *ptr_t, float64_t *ptr_aHa11, float64_t *ptr_aHa22, float64_t **ptr_History, int32_t verb)
virtual const char * get_name () const

保护成员

float64_t * get_col (int64_t a, int64_t b)

保护属性

float64_t ** kernel_columns
float64_t * cache_index
int32_t first_kernel_inx
int64_t Cache_Size
int32_t m_num_data
float64_t m_reg_const
float64_t * m_vector_y
CKernel * m_kernel

构造及析构函数文档

CGNPPLib ( float64_t *  vector_y,
CKernel *  kernel,
int32_t  num_data,
float64_t  reg_const 
)

constructor

参数:
vector_y vector y
kernel kernel
num_data number of data
reg_const reg const

在文件gnpplib.cpp第34行定义。

~CGNPPLib (  )  [virtual]

在文件gnpplib.cpp第62行定义。


成员函数文档

float64_t * get_col ( int64_t  a,
int64_t  b 
) [protected]

get col

参数:
a a
b b
返回:
something floaty

在文件gnpplib.cpp第672行定义。

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

实现了CSGObject。

在文件gnpplib.h第87行定义。

int8_t gnpp_imdm ( float64_t *  diag_H,
float64_t *  vector_c,
float64_t *  vector_y,
int32_t  dim,
int32_t  tmax,
float64_t  tolabs,
float64_t  tolrel,
float64_t  th,
float64_t *  alpha,
int32_t *  ptr_t,
float64_t *  ptr_aHa11,
float64_t *  ptr_aHa22,
float64_t **  ptr_History,
int32_t  verb 
)

-------------------------------------------------------------- QP solver based on improved MDM algorithm (u fixed v optimized)

Usage: exitflag = gnpp_imdm( diag_H, vector_c, vector_y, dim, tmax, tolabs, tolrel, th, &alpha, &t, &aHa11, &aHa22, &History ); --------------------------------------------------------------

在文件gnpplib.cpp第342行定义。

int8_t gnpp_mdm ( float64_t *  diag_H,
float64_t *  vector_c,
float64_t *  vector_y,
int32_t  dim,
int32_t  tmax,
float64_t  tolabs,
float64_t  tolrel,
float64_t  th,
float64_t *  alpha,
int32_t *  ptr_t,
float64_t *  ptr_aHa11,
float64_t *  ptr_aHa22,
float64_t **  ptr_History,
int32_t  verb 
)

-------------------------------------------------------------- QP solver based on MDM algorithm.

Usage: exitflag = gnpp_mdm(diag_H, vector_c, vector_y, dim, tmax, tolabs, tolrel, th, &alpha, &t, &aHa11, &aHa22, &History ); --------------------------------------------------------------

在文件gnpplib.cpp第77行定义。


成员数据文档

float64_t* cache_index [protected]

cache index

在文件gnpplib.h第101行定义。

int64_t Cache_Size [protected]

cache size

在文件gnpplib.h第105行定义。

int32_t first_kernel_inx [protected]

first kernel inx

在文件gnpplib.h第103行定义。

float64_t** kernel_columns [protected]

kernel columns

在文件gnpplib.h第99行定义。

CKernel* m_kernel [protected]

kernel

在文件gnpplib.h第113行定义。

int32_t m_num_data [protected]

num data

在文件gnpplib.h第107行定义。

float64_t m_reg_const [protected]

reg const

在文件gnpplib.h第109行定义。

float64_t* m_vector_y [protected]

vector y

在文件gnpplib.h第111行定义。


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

SHOGUN Machine Learning Toolbox - Documentation