Logo Search packages:      
Sourcecode: e1071 version File versions  Download package

Classes | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes

Solver Class Reference

Inheritance diagram for Solver:
Inheritance graph
Collaboration diagram for Solver:
Collaboration graph

List of all members.


struct  SolutionInfo

Public Member Functions

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

Protected Types


Protected Member Functions

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

Protected Attributes

int * active_set
int active_size
double * alpha
char * alpha_status
double * b
double Cn
double Cp
double eps
double * G
double * G_bar
int l
const QMatrixQ
const Qfloat * QD
bool unshrinked
schar * y

Detailed Description

Definition at line 385 of file svm.cpp.

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

Generated by  Doxygen 1.6.0   Back to index