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

Public Member Functions

 ONE_CLASS_Q (const svm_problem &prob, const svm_parameter &param)
 
Qfloatget_Q (int i, int len) const
 
doubleget_QD () const
 
void swap_index (int i, int j) const
 
 ~ONE_CLASS_Q ()
 
- Public Member Functions inherited from celeste::Kernel
 Kernel (int l, svm_node *const *x, const svm_parameter &param)
 
virtual ~Kernel ()
 
- Public Member Functions inherited from celeste::QMatrix
virtual ~QMatrix ()
 

Private Attributes

Cachecache
 
doubleQD
 

Additional Inherited Members

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

Detailed Description

Definition at line 1363 of file svm.cpp.

Constructor & Destructor Documentation

◆ ONE_CLASS_Q()

celeste::ONE_CLASS_Q::ONE_CLASS_Q ( const svm_problem prob,
const svm_parameter param 
)
inline

◆ ~ONE_CLASS_Q()

celeste::ONE_CLASS_Q::~ONE_CLASS_Q ( )
inline

Definition at line 1399 of file svm.cpp.

References cache, and QD.

Member Function Documentation

◆ get_Q()

Qfloat * celeste::ONE_CLASS_Q::get_Q ( int  i,
int  len 
) const
inlinevirtual

Implements celeste::Kernel.

Definition at line 1375 of file svm.cpp.

References cache, celeste::Cache::get_data(), celeste::Kernel::kernel_function, and threshold().

◆ get_QD()

double * celeste::ONE_CLASS_Q::get_QD ( ) const
inlinevirtual

Implements celeste::Kernel.

Definition at line 1387 of file svm.cpp.

References QD.

◆ swap_index()

void celeste::ONE_CLASS_Q::swap_index ( int  i,
int  j 
) const
inlinevirtual

Reimplemented from celeste::Kernel.

Definition at line 1392 of file svm.cpp.

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

Member Data Documentation

◆ cache

Cache* celeste::ONE_CLASS_Q::cache
private

Definition at line 1405 of file svm.cpp.

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

◆ QD

double* celeste::ONE_CLASS_Q::QD
private

Definition at line 1406 of file svm.cpp.

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


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