Public Member Functions | Protected Member Functions | Protected Attributes

CGNPPLib Class Reference


Detailed Description

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

Definition at line 31 of file GNPPLib.h.

Inheritance diagram for CGNPPLib:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CGNPPLib (void)
 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

Protected Member Functions

float64_tget_col (int64_t a, int64_t b)

Protected Attributes

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

Constructor & Destructor Documentation

CGNPPLib ( void   ) 

default constructor

Definition at line 33 of file GNPPLib.cpp.

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

constructor

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

Definition at line 47 of file GNPPLib.cpp.

~CGNPPLib (  )  [virtual]

Definition at line 75 of file GNPPLib.cpp.


Member Function Documentation

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

get col

Parameters:
a a
b b
Returns:
something floaty

Definition at line 685 of file GNPPLib.cpp.

virtual const char* get_name ( void   )  const [virtual]
Returns:
object name

Implements CSGObject.

Definition at line 90 of file GNPPLib.h.

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 ); --------------------------------------------------------------

Definition at line 355 of file GNPPLib.cpp.

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 ); --------------------------------------------------------------

Definition at line 90 of file GNPPLib.cpp.


Member Data Documentation

float64_t* cache_index [protected]

cache index

Definition at line 104 of file GNPPLib.h.

int64_t Cache_Size [protected]

cache size

Definition at line 108 of file GNPPLib.h.

int32_t first_kernel_inx [protected]

first kernel inx

Definition at line 106 of file GNPPLib.h.

float64_t** kernel_columns [protected]

kernel columns

Definition at line 102 of file GNPPLib.h.

CKernel* m_kernel [protected]

kernel

Definition at line 116 of file GNPPLib.h.

int32_t m_num_data [protected]

num data

Definition at line 110 of file GNPPLib.h.

float64_t m_reg_const [protected]

reg const

Definition at line 112 of file GNPPLib.h.

float64_t* m_vector_y [protected]

vector y

Definition at line 114 of file GNPPLib.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation