Solver Class Reference

Inheritance diagram for Solver:
Inheritance graph
[legend]
Collaboration diagram for Solver:
Collaboration graph
[legend]

List of all members.

Classes

struct  SolutionInfo

Public Member Functions

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
schar * y
double * G
char * alpha_status
double * alpha
const QMatrixQ
const Qfloat * QD
double eps
double Cp
double Cn
double * p
int * active_set
double * G_bar
int l
bool unshrinked

Detailed Description

Definition at line 419 of file svm.cpp.


The documentation for this class was generated from the following file:
Generated on Sun May 8 08:43:49 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3