Public Member Functions | Static Public Member Functions | Protected Attributes | Private Member Functions | Static Private Member Functions | Private Attributes
Kernel Class Reference
Inheritance diagram for Kernel:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual Qfloatget_Q (int column, int len) const =0
virtual double * get_QD () const =0
 Kernel (int l, svm_node *const *x, const svm_parameter &param)
virtual void swap_index (int i, int j) const
virtual ~Kernel ()

Static Public Member Functions

static double k_function (const svm_node *x, const svm_node *y, const svm_parameter &param)

Protected Attributes

double(Kernel::* kernel_function )(int i, int j) const

Private Member Functions

double kernel_linear (int i, int j) const
double kernel_poly (int i, int j) const
double kernel_precomputed (int i, int j) const
double kernel_rbf (int i, int j) const
double kernel_sigmoid (int i, int j) const

Static Private Member Functions

static double dot (const svm_node *px, const svm_node *py)

Private Attributes

const double coef0
const int degree
const double gamma
const int kernel_type
const svm_node ** x
double * x_square

Detailed Description

Definition at line 202 of file svm.cpp.


Constructor & Destructor Documentation

Kernel::Kernel ( int  l,
svm_node *const *  x,
const svm_parameter param 
)

Definition at line 253 of file svm.cpp.

Kernel::~Kernel ( ) [virtual]

Definition at line 288 of file svm.cpp.


Member Function Documentation

double Kernel::dot ( const svm_node px,
const svm_node py 
) [static, private]

Definition at line 294 of file svm.cpp.

virtual Qfloat* Kernel::get_Q ( int  column,
int  len 
) const [pure virtual]

Implements QMatrix.

Implemented in SVR_Q, ONE_CLASS_Q, and SVC_Q.

virtual double* Kernel::get_QD ( ) const [pure virtual]

Implements QMatrix.

Implemented in SVR_Q, ONE_CLASS_Q, and SVC_Q.

double Kernel::k_function ( const svm_node x,
const svm_node y,
const svm_parameter param 
) [static]

Definition at line 316 of file svm.cpp.

double Kernel::kernel_linear ( int  i,
int  j 
) const [inline, private]

Definition at line 231 of file svm.cpp.

double Kernel::kernel_poly ( int  i,
int  j 
) const [inline, private]

Definition at line 235 of file svm.cpp.

double Kernel::kernel_precomputed ( int  i,
int  j 
) const [inline, private]

Definition at line 247 of file svm.cpp.

double Kernel::kernel_rbf ( int  i,
int  j 
) const [inline, private]

Definition at line 239 of file svm.cpp.

double Kernel::kernel_sigmoid ( int  i,
int  j 
) const [inline, private]

Definition at line 243 of file svm.cpp.

virtual void Kernel::swap_index ( int  i,
int  j 
) const [inline, virtual]

Implements QMatrix.

Reimplemented in SVR_Q, ONE_CLASS_Q, and SVC_Q.

Definition at line 211 of file svm.cpp.


Member Data Documentation

const double Kernel::coef0 [private]

Definition at line 228 of file svm.cpp.

const int Kernel::degree [private]

Definition at line 226 of file svm.cpp.

const double Kernel::gamma [private]

Definition at line 227 of file svm.cpp.

double(Kernel::* Kernel::kernel_function)(int i, int j) const [protected]

Definition at line 218 of file svm.cpp.

const int Kernel::kernel_type [private]

Definition at line 225 of file svm.cpp.

const svm_node** Kernel::x [private]

Definition at line 221 of file svm.cpp.

double* Kernel::x_square [private]

Definition at line 222 of file svm.cpp.


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


haf_grasping
Author(s): David Fischinger
autogenerated on Thu Jun 6 2019 18:35:09