Public Member Functions | Private Member Functions | Private Attributes | List of all members
Solver_NU Class Reference
Inheritance diagram for Solver_NU:
Inheritance graph
[legend]

Public Member Functions

void Solve (int l, const QMatrix &Q, const double *p, const schar *y, double *alpha, double *C_, double eps, SolutionInfo *si, int shrinking)
 
 Solver_NU ()
 
- Public Member Functions inherited from Solver
void Solve (int l, const QMatrix &Q, const double *p_, const schar *y_, double *alpha_, const double *C_, double eps, SolutionInfo *si, int shrinking)
 
 Solver ()
 
virtual ~Solver ()
 

Private Member Functions

bool be_shrunk (int i, double Gmax1, double Gmax2, double Gmax3, double Gmax4)
 
double calculate_rho ()
 
void do_shrinking ()
 
int select_working_set (int &i, int &j)
 

Private Attributes

SolutionInfo * si
 

Additional Inherited Members

- Protected Types inherited from Solver
enum  { LOWER_BOUND, UPPER_BOUND, FREE }
 
- Protected Member Functions inherited from Solver
double get_C (int i)
 
bool is_free (int i)
 
bool is_lower_bound (int i)
 
bool is_upper_bound (int i)
 
void reconstruct_gradient ()
 
void swap_index (int i, int j)
 
void update_alpha_status (int i)
 
- Protected Attributes inherited from Solver
int * active_set
 
int active_size
 
double * alpha
 
char * alpha_status
 
double * C
 
double Cn
 
double Cp
 
double eps
 
double * G
 
double * G_bar
 
int l
 
double * p
 
const QMatrixQ
 
const double * QD
 
bool unshrink
 
schary
 

Detailed Description

Definition at line 1051 of file svm.cpp.

Constructor & Destructor Documentation

◆ Solver_NU()

Solver_NU::Solver_NU ( )
inline

Definition at line 1054 of file svm.cpp.

Member Function Documentation

◆ be_shrunk()

bool Solver_NU::be_shrunk ( int  i,
double  Gmax1,
double  Gmax2,
double  Gmax3,
double  Gmax4 
)
private

Definition at line 1183 of file svm.cpp.

◆ calculate_rho()

double Solver_NU::calculate_rho ( )
privatevirtual

Reimplemented from Solver.

Definition at line 1255 of file svm.cpp.

◆ do_shrinking()

void Solver_NU::do_shrinking ( )
privatevirtual

Reimplemented from Solver.

Definition at line 1203 of file svm.cpp.

◆ select_working_set()

int Solver_NU::select_working_set ( int &  i,
int &  j 
)
privatevirtual

Reimplemented from Solver.

Definition at line 1071 of file svm.cpp.

◆ Solve()

void Solver_NU::Solve ( int  l,
const QMatrix Q,
const double *  p,
const schar y,
double *  alpha,
double *  C_,
double  eps,
SolutionInfo *  si,
int  shrinking 
)
inline

Definition at line 1055 of file svm.cpp.

Member Data Documentation

◆ si

SolutionInfo* Solver_NU::si
private

Definition at line 1063 of file svm.cpp.


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


fcl
Author(s):
autogenerated on Tue Dec 5 2023 03:40:50