Detailed Description
class GNPPLib, a Library of solvers for Generalized Nearest Point Problem (GNPP).
Definition at line 31 of file GNPPLib.h.
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_t * | get_col (int64_t a, int64_t b) |
Protected Attributes |
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 |
Constructor & Destructor Documentation
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.
Member Function Documentation
float64_t * get_col |
( |
int64_t |
a, |
|
|
int64_t |
b | |
|
) |
| | [protected] |
get col
- Parameters:
-
- Returns:
- something floaty
Definition at line 685 of file GNPPLib.cpp.
virtual const char* get_name |
( |
void |
|
) |
const [virtual] |
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
The documentation for this class was generated from the following files: