Public Types | Public Member Functions | Public Attributes
CvSVMKernel Struct Reference

#include <ml.hpp>

List of all members.

Public Types

typedef void(CvSVMKernel::* Calc )(int vec_count, int vec_size, const float **vecs, const float *another, float *results)

Public Member Functions

 CvSVMKernel ()
 CvSVMKernel (const CvSVMParams *params, Calc _calc_func)
virtual bool create (const CvSVMParams *params, Calc _calc_func)
virtual ~CvSVMKernel ()
virtual void clear ()
virtual void calc (int vcount, int n, const float **vecs, const float *another, float *results)
virtual void calc_non_rbf_base (int vec_count, int vec_size, const float **vecs, const float *another, float *results, double alpha, double beta)
virtual void calc_linear (int vec_count, int vec_size, const float **vecs, const float *another, float *results)
virtual void calc_rbf (int vec_count, int vec_size, const float **vecs, const float *another, float *results)
virtual void calc_poly (int vec_count, int vec_size, const float **vecs, const float *another, float *results)
virtual void calc_sigmoid (int vec_count, int vec_size, const float **vecs, const float *another, float *results)

Public Attributes

const CvSVMParamsparams
Calc calc_func

Member Typedef Documentation

typedef void(CvSVMKernel::* CvSVMKernel::Calc)(int vec_count, int vec_size, const float **vecs, const float *another, float *results)

Constructor & Destructor Documentation

CvSVMKernel::CvSVMKernel ( const CvSVMParams params,
Calc  _calc_func 
)
virtual CvSVMKernel::~CvSVMKernel ( ) [virtual]

Member Function Documentation

virtual bool CvSVMKernel::create ( const CvSVMParams params,
Calc  _calc_func 
) [virtual]
virtual void CvSVMKernel::clear ( ) [virtual]
virtual void CvSVMKernel::calc ( int  vcount,
int  n,
const float **  vecs,
const float *  another,
float *  results 
) [virtual]
virtual void CvSVMKernel::calc_non_rbf_base ( int  vec_count,
int  vec_size,
const float **  vecs,
const float *  another,
float *  results,
double  alpha,
double  beta 
) [virtual]
virtual void CvSVMKernel::calc_linear ( int  vec_count,
int  vec_size,
const float **  vecs,
const float *  another,
float *  results 
) [virtual]
virtual void CvSVMKernel::calc_rbf ( int  vec_count,
int  vec_size,
const float **  vecs,
const float *  another,
float *  results 
) [virtual]
virtual void CvSVMKernel::calc_poly ( int  vec_count,
int  vec_size,
const float **  vecs,
const float *  another,
float *  results 
) [virtual]
virtual void CvSVMKernel::calc_sigmoid ( int  vec_count,
int  vec_size,
const float **  vecs,
const float *  another,
float *  results 
) [virtual]

Member Data Documentation


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