CGNPPLib Class Reference

Inheritance diagram for CGNPPLib:

Inheritance graph
[legend]

List of all members.


Detailed Description

class GNPPLib

Definition at line 27 of file gnpplib.h.


Public Member Functions

 CGNPPLib (DREAL *vector_y, CKernel *kernel, INT num_data, DREAL reg_const)
 ~CGNPPLib ()
int gnpp_mdm (double *diag_H, double *vector_c, double *vector_y, INT dim, INT tmax, double tolabs, double tolrel, double th, double *alpha, INT *ptr_t, double *ptr_aHa11, double *ptr_aHa22, double **ptr_History, INT verb)
int gnpp_imdm (double *diag_H, double *vector_c, double *vector_y, INT dim, INT tmax, double tolabs, double tolrel, double th, double *alpha, INT *ptr_t, double *ptr_aHa11, double *ptr_aHa22, double **ptr_History, INT verb)

Static Public Attributes

static CParallel parallel
static CIO io
static CVersion version

Protected Member Functions

DREALget_col (long a, long b)

Protected Attributes

DREAL ** kernel_columns
DREALcache_index
INT first_kernel_inx
LONG Cache_Size
INT m_num_data
DREAL m_reg_const
DREALm_vector_y
CKernelm_kernel

Constructor & Destructor Documentation

CGNPPLib::CGNPPLib ( DREAL vector_y,
CKernel kernel,
INT  num_data,
DREAL  reg_const 
)

constructor

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

Definition at line 32 of file gnpplib.cpp.

CGNPPLib::~CGNPPLib (  ) 

Definition at line 59 of file gnpplib.cpp.


Member Function Documentation

int CGNPPLib::gnpp_mdm ( double *  diag_H,
double *  vector_c,
double *  vector_y,
INT  dim,
INT  tmax,
double  tolabs,
double  tolrel,
double  th,
double *  alpha,
INT ptr_t,
double *  ptr_aHa11,
double *  ptr_aHa22,
double **  ptr_History,
INT  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 ); --------------------------------------------------------------

Definition at line 74 of file gnpplib.cpp.

int CGNPPLib::gnpp_imdm ( double *  diag_H,
double *  vector_c,
double *  vector_y,
INT  dim,
INT  tmax,
double  tolabs,
double  tolrel,
double  th,
double *  alpha,
INT ptr_t,
double *  ptr_aHa11,
double *  ptr_aHa22,
double **  ptr_History,
INT  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 ); --------------------------------------------------------------

Definition at line 339 of file gnpplib.cpp.

DREAL * CGNPPLib::get_col ( long  a,
long  b 
) [protected]

get col

Parameters:
a a
b b
Returns:
something floaty

Definition at line 669 of file gnpplib.cpp.


Member Data Documentation

kernel columns

Definition at line 92 of file gnpplib.h.

cache index

Definition at line 94 of file gnpplib.h.

first kernel inx

Definition at line 96 of file gnpplib.h.

cache size

Definition at line 98 of file gnpplib.h.

num data

Definition at line 100 of file gnpplib.h.

reg const

Definition at line 102 of file gnpplib.h.

vector y

Definition at line 104 of file gnpplib.h.

kernel

Definition at line 106 of file gnpplib.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