Hugin trunk 0.1
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
celeste::Solver_NU Class Reference
Inheritance diagram for celeste::Solver_NU:
Inheritance graph

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 celeste::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)
 

Private Member Functions

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

Private Attributes

SolutionInfosi
 

Additional Inherited Members

- Protected Types inherited from celeste::Solver
enum  { LOWER_BOUND , UPPER_BOUND , FREE }
 
- Protected Member Functions inherited from celeste::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 celeste::Solver
int active_size
 
schary
 
doubleG
 
charalpha_status
 
doublealpha
 
const QMatrixQ
 
const doubleQD
 
double eps
 
double Cp
 
double Cn
 
doublep
 
intactive_set
 
doubleG_bar
 
int l
 
bool unshrink
 

Detailed Description

Definition at line 1056 of file svm.cpp.

Constructor & Destructor Documentation

◆ Solver_NU()

celeste::Solver_NU::Solver_NU ( )
inline

Definition at line 1059 of file svm.cpp.

Member Function Documentation

◆ be_shrunk()

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

◆ calculate_rho()

double celeste::Solver_NU::calculate_rho ( )
privatevirtual

◆ do_shrinking()

void celeste::Solver_NU::do_shrinking ( )
privatevirtual

◆ select_working_set()

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

◆ Solve()

void celeste::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

Member Data Documentation

◆ si

SolutionInfo* celeste::Solver_NU::si
private

Definition at line 1068 of file svm.cpp.

Referenced by calculate_rho(), and Solve().


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