Xmipp  v3.23.11-Nereus
Public Member Functions | List of all members
Solver_NU Class Reference
Inheritance diagram for Solver_NU:
Inheritance graph
[legend]
Collaboration diagram for Solver_NU:
Collaboration graph
[legend]

Public Member Functions

 Solver_NU ()
 
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)
 
- Public Member Functions inherited from Solver
 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)
 

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)
 
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 ()
 
- Protected Attributes inherited from Solver
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
 

Detailed Description

Definition at line 1015 of file svm.cpp.

Constructor & Destructor Documentation

◆ Solver_NU()

Solver_NU::Solver_NU ( )
inline

Definition at line 1018 of file svm.cpp.

1018 {}

Member Function Documentation

◆ Solve()

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

Definition at line 1019 of file svm.cpp.

1022  {
1023  this->si = si;
1024  Solver::Solve(l,Q,p,y,alpha,Cp,Cn,eps,si,shrinking);
1025  }
int l
Definition: svm.cpp:429
double * alpha
Definition: svm.cpp:421
double Cp
Definition: svm.cpp:425
double * p
Definition: svm.cpp:426
double Cn
Definition: svm.cpp:425
schar * y
Definition: svm.cpp:417
double eps
Definition: svm.cpp:424
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)
Definition: svm.cpp:510

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