[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Solver Class Reference

Inheritance diagram for Solver:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 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)

Protected Types

enum  { LOWER_BOUND, UPPER_BOUND, FREE }

Protected Member Functions

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 ()
virtual int select_working_set (int &i, int &j)
virtual double calculate_rho ()
virtual void do_shrinking ()

Protected Attributes

int active_size
schary
doubleG
char * alpha_status
doublealpha
const QMatrixQ
const QfloatQD
double eps
double Cp
double Cn
doublep
int * active_set
doubleG_bar
int l
bool unshrinked

Member Enumeration Documentation

anonymous enum [protected]
 

Enumeration values:
LOWER_BOUND 
UPPER_BOUND 
FREE 


Constructor & Destructor Documentation

Solver::Solver  )  [inline]
 

virtual Solver::~Solver  )  [inline, virtual]
 


Member Function Documentation

double Solver::calculate_rho  )  [protected, virtual]
 

void Solver::do_shrinking  )  [protected, virtual]
 

double Solver::get_C int  i  )  [inline, protected]
 

bool Solver::is_free int  i  )  [inline, protected]
 

bool Solver::is_lower_bound int  i  )  [inline, protected]
 

bool Solver::is_upper_bound int  i  )  [inline, protected]
 

void Solver::reconstruct_gradient  )  [protected]
 

int Solver::select_working_set int &  i,
int &  j
[protected, virtual]
 

void Solver::Solve int  l,
const QMatrix Q,
const double p_,
const schar y_,
double alpha_,
double  Cp,
double  Cn,
double  eps,
SolutionInfo si,
int  shrinking
 

Reimplemented in Solver_NU.

void Solver::swap_index int  i,
int  j
[protected]
 

void Solver::update_alpha_status int  i  )  [inline, protected]
 


Member Data Documentation

int* Solver::active_set [protected]
 

int Solver::active_size [protected]
 

double* Solver::alpha [protected]
 

char* Solver::alpha_status [protected]
 

double Solver::Cn [protected]
 

double Solver::Cp [protected]
 

double Solver::eps [protected]
 

double* Solver::G [protected]
 

double* Solver::G_bar [protected]
 

int Solver::l [protected]
 

double* Solver::p [protected]
 

const QMatrix* Solver::Q [protected]
 

const Qfloat* Solver::QD [protected]
 

bool Solver::unshrinked [protected]
 

schar* Solver::y [protected]
 


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

Generated on Mon Sep 20 01:01:35 2010 for Hugintrunk by doxygen 1.3.9.1