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

CGNPPLib类参考


详细描述

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

在文件gnpplib.h31行定义。

继承图,类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_tget_col (int64_t a, int64_t b)

保护属性

float64_t ** kernel_columns
float64_tcache_index
int32_t first_kernel_inx
int64_t Cache_Size
int32_t m_num_data
float64_t m_reg_const
float64_tm_vector_y
CKernelm_kernel

构造及析构函数文档

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

constructor

参数:
vector_yvector y
kernelkernel
num_datanumber of data
reg_constreg const

在文件gnpplib.cpp34行定义。

~CGNPPLib (  ) [virtual]

在文件gnpplib.cpp62行定义。


成员函数文档

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

get col

参数:
aa
bb
返回:
something floaty

在文件gnpplib.cpp672行定义。

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

实现了CSGObject

在文件gnpplib.h87行定义。

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.cpp342行定义。

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.cpp77行定义。


成员数据文档

float64_t* cache_index [protected]

cache index

在文件gnpplib.h101行定义。

int64_t Cache_Size [protected]

cache size

在文件gnpplib.h105行定义。

int32_t first_kernel_inx [protected]

first kernel inx

在文件gnpplib.h103行定义。

float64_t** kernel_columns [protected]

kernel columns

在文件gnpplib.h99行定义。

CKernel* m_kernel [protected]

kernel

在文件gnpplib.h113行定义。

int32_t m_num_data [protected]

num data

在文件gnpplib.h107行定义。

float64_t m_reg_const [protected]

reg const

在文件gnpplib.h109行定义。

float64_t* m_vector_y [protected]

vector y

在文件gnpplib.h111行定义。


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

SHOGUN Machine Learning Toolbox - Documentation