Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

 Solver_NU ()=default
 
void Solve (int my_l, const QMatrix &my_Q, const double *my_p, const schar *my_y, double *my_alpha, double my_Cp, double my_Cn, double my_eps, SolutionInfo *my_si, int my_shrinking)
 
- Public Member Functions inherited from Solver
 Solver ()=default
 
virtual ~Solver ()=default
 
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)
 

Private Member Functions

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

Private Attributes

SolutionInfosi
 

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
 
doubleG
 
char * alpha_status
 
doublealpha
 
const QMatrixQ
 
const doubleQD
 
double eps
 
double Cp
 
double Cn
 
doublep
 
intactive_set
 
doubleG_bar
 
int l
 
bool unshrink
 

Constructor & Destructor Documentation

Solver_NU::Solver_NU ( )
default

Member Function Documentation

bool Solver_NU::be_shrunk ( int  i,
double  Gmax1,
double  Gmax2,
double  Gmax3,
double  Gmax4 
)
private
double Solver_NU::calculate_rho ( )
overrideprivatevirtual
void Solver_NU::do_shrinking ( )
overrideprivatevirtual
int Solver_NU::select_working_set ( int i,
int j 
)
overrideprivatevirtual
void Solver_NU::Solve ( int  my_l,
const QMatrix my_Q,
const double my_p,
const schar my_y,
double my_alpha,
double  my_Cp,
double  my_Cn,
double  my_eps,
SolutionInfo my_si,
int  my_shrinking 
)
inline

References si, and Solver::Solve().

Referenced by solve_nu_svc(), and solve_nu_svr().

Member Data Documentation

SolutionInfo* Solver_NU::si
private

Referenced by calculate_rho(), and Solve().


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