ARLK: Solver Class Reference
ARLK  0.1.0
Action Recognition Library for Kinect
Inheritance diagram for Solver:
Solver_NU

Classes

struct  SolutionInfo
 

Public Member Functions

 Solver ()
 
virtual ~Solver ()
 
void Solve (int l, const QMatrix &Q, const double *p_, const schar *y_, double *alpha_, double Cp, double Cn, double eps, SolutionInfo *si, int shrinking)
 

Protected Types

enum  { LOWER_BOUND, UPPER_BOUND, FREE }
 

Protected Member Functions

double get_C (int i)
 
void update_alpha_status (int i)
 
bool is_upper_bound (int i)
 
bool is_lower_bound (int i)
 
bool is_free (int i)
 
void swap_index (int i, int j)
 
void reconstruct_gradient ()
 
virtual int select_working_set (int &i, int &j)
 
virtual double calculate_rho ()
 
virtual void do_shrinking ()
 

Protected Attributes

int active_size
 
schary
 
double * G
 
char * alpha_status
 
double * alpha
 
const QMatrixQ
 
const double * QD
 
double eps
 
double Cp
 
double Cn
 
double * p
 
int * active_set
 
double * G_bar
 
int l
 
bool unshrink
 

Member Enumeration Documentation

anonymous enum
protected
Enumerator:
LOWER_BOUND 
UPPER_BOUND 
FREE 

Constructor & Destructor Documentation

Solver::Solver ( )
inline
virtual Solver::~Solver ( )
inlinevirtual

Member Function Documentation

double Solver::calculate_rho ( )
protectedvirtual
void Solver::do_shrinking ( )
protectedvirtual
double Solver::get_C ( int  i)
inlineprotected
bool Solver::is_free ( int  i)
inlineprotected
bool Solver::is_lower_bound ( int  i)
inlineprotected
bool Solver::is_upper_bound ( int  i)
inlineprotected
void Solver::reconstruct_gradient ( )
protected
int Solver::select_working_set ( int &  i,
int &  j 
)
protectedvirtual
void Solver::Solve ( int  l,
const QMatrix Q,
const double *  p_,
const schar y_,
double *  alpha_,
double  Cp,
double  Cn,
double  eps,
SolutionInfo si,
int  shrinking 
)
void Solver::swap_index ( int  i,
int  j 
)
protected
void Solver::update_alpha_status ( int  i)
inlineprotected

Member Data Documentation

int* Solver::active_set
protected
int Solver::active_size
protected
double* Solver::alpha
protected
char* Solver::alpha_status
protected
double Solver::Cn
protected
double Solver::Cp
protected
double Solver::eps
protected
double* Solver::G
protected
double* Solver::G_bar
protected
int Solver::l
protected
double* Solver::p
protected
const QMatrix* Solver::Q
protected
const double* Solver::QD
protected
bool Solver::unshrink
protected
schar* Solver::y
protected

The documentation for this class was generated from the following file: