Rosetta  2020.28
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
SVC_Q Class Reference
Inheritance diagram for SVC_Q:
Inheritance graph
[legend]

Public Member Functions

 SVC_Q (const svm_problem &prob, const svm_parameter &param, const schar *y_)
 
Qfloatget_Q (int i, int len) const override
 
doubleget_QD () const override
 
void swap_index (int i, int j) const override
 
 ~SVC_Q () override
 
- Public Member Functions inherited from Kernel
 Kernel (int l, svm_node *const *x, const svm_parameter &param)
 
 ~Kernel () override
 
- Public Member Functions inherited from QMatrix
virtual ~QMatrix ()=default
 

Private Attributes

schary
 
Cachecache
 
doubleQD
 

Additional Inherited Members

- Static Public Member Functions inherited from Kernel
static double k_function (const svm_node *x, const svm_node *y, const svm_parameter &param)
 
- Protected Attributes inherited from Kernel
double(Kernel::* kernel_function )(int i, int j) const
 

Constructor & Destructor Documentation

SVC_Q::SVC_Q ( const svm_problem prob,
const svm_parameter param,
const schar y_ 
)
inline
SVC_Q::~SVC_Q ( )
inlineoverride

References cache, QD, and y.

Member Function Documentation

Qfloat* SVC_Q::get_Q ( int  i,
int  len 
) const
inlineoverridevirtual
double* SVC_Q::get_QD ( ) const
inlineoverridevirtual

Implements Kernel.

References QD.

void SVC_Q::swap_index ( int  i,
int  j 
) const
inlineoverridevirtual

Reimplemented from Kernel.

References cache, QD, swap(), Cache::swap_index(), Kernel::swap_index(), and y.

Member Data Documentation

Cache* SVC_Q::cache
private

Referenced by get_Q(), SVC_Q(), swap_index(), and ~SVC_Q().

double* SVC_Q::QD
private

Referenced by get_QD(), SVC_Q(), swap_index(), and ~SVC_Q().

schar* SVC_Q::y
private

Referenced by get_Q(), SVC_Q(), swap_index(), and ~SVC_Q().


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