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

Public Member Functions

 ONE_CLASS_Q (const svm_problem &prob, const svm_parameter &param)
 
Qfloatget_Q (int i, int len) const override
 
doubleget_QD () const override
 
void swap_index (int i, int j) const override
 
 ~ONE_CLASS_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

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

ONE_CLASS_Q::ONE_CLASS_Q ( const svm_problem prob,
const svm_parameter param 
)
inline
ONE_CLASS_Q::~ONE_CLASS_Q ( )
inlineoverride

References cache, and QD.

Member Function Documentation

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

Implements Kernel.

References QD.

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

Reimplemented from Kernel.

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

Member Data Documentation

Cache* ONE_CLASS_Q::cache
private
double* ONE_CLASS_Q::QD
private

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