Orfeo Toolbox  4.0
Public Types | Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
ComposedKernelFunctor Class Reference

Undocumented. More...

#include <svm.h>

+ Inheritance diagram for ComposedKernelFunctor:
+ Collaboration diagram for ComposedKernelFunctor:

Public Types

typedef std::vector
< GenericKernelFunctorBase * > 
KernelListType
 
typedef ComposedKernelFunctor Self
 
typedef GenericKernelFunctorBase Superclass
 

Public Member Functions

 ComposedKernelFunctor ()
 
virtual ~ComposedKernelFunctor ()
 
virtual svm_nodeadd (const svm_node *px, const svm_node *py) const
 
void AddKernelFunctorModelToKernelList (const GenericKernelFunctorBase *kernelfunctor)
 
void AddPonderationToPonderationList (const double &pond)
 
virtual ComposedKernelFunctorClone () const
 
virtual double derivative (const svm_node *x, const svm_node *y, const svm_parameter &param, int degree, int index, bool isAtEnd, double constValue) const
 
virtual double dot (const svm_node *px, const svm_node *py) const
 
KernelListTypeGetKernelFunctorList ()
 
virtual const MapTypeGetMapParameters () const
 
virtual MapType GetMapParameters ()
 
bool GetMultiplyKernelFunctor ()
 
virtual std::string GetName (void) const
 
std::vector< double > GetPonderationList ()
 
template<class T >
GetValue (const char *option) const
 
virtual int load_parameters (FILE **pfile)
 
virtual double operator() (const svm_node *x, const svm_node *y, const svm_parameter &param) const
 
virtual void print_parameters (void) const
 
virtual int save_parameters (FILE **pfile, const char *composed_kernel_parameters_keyword) const
 
void SetKernelFunctorList (const KernelListType &kernelFunctorList)
 
virtual void SetMapParameters (const MapType &map)
 
void SetMultiplyKernelFunctor (bool val)
 
virtual void SetName (std::string name)
 
void SetPonderationModelList (const std::vector< double > &list)
 
template<class T >
void SetValue (const char *option, const T &value)
 
virtual svm_nodesub (const svm_node *px, const svm_node *py) const
 
virtual void Update (void)
 

Protected Member Functions

 ComposedKernelFunctor (const Self &copy)
 
Selfoperator= (const Self &copy)
 

Private Types

typedef
GenericKernelFunctorBase::MapConstIterator 
MapConstIterator
 
typedef
GenericKernelFunctorBase::MapIterator 
MapIterator
 
typedef
GenericKernelFunctorBase::MapType 
MapType
 

Private Member Functions

void ClearFunctorList ()
 

Private Attributes

KernelListType m_KernelFunctorList
 
std::vector< double > m_PonderationList
 

Detailed Description

Undocumented.

Definition at line 98 of file svm.h.

Member Typedef Documentation

Definition at line 110 of file svm.h.

Definition at line 159 of file svm.h.

Definition at line 158 of file svm.h.

Definition at line 157 of file svm.h.

Definition at line 101 of file svm.h.

Definition at line 102 of file svm.h.

Constructor & Destructor Documentation

ComposedKernelFunctor::ComposedKernelFunctor ( )
virtual ComposedKernelFunctor::~ComposedKernelFunctor ( )
virtual
ComposedKernelFunctor::ComposedKernelFunctor ( const Self copy)
protected

Copy constructor

Member Function Documentation

virtual svm_node* GenericKernelFunctorBase::add ( const svm_node px,
const svm_node py 
) const
virtualinherited
void ComposedKernelFunctor::AddKernelFunctorModelToKernelList ( const GenericKernelFunctorBase kernelfunctor)
void ComposedKernelFunctor::AddPonderationToPonderationList ( const double &  pond)
void ComposedKernelFunctor::ClearFunctorList ( )
private
virtual ComposedKernelFunctor* ComposedKernelFunctor::Clone ( ) const
virtual

Reimplemented from GenericKernelFunctorBase.

Referenced by svm_parameter::operator=().

virtual double ComposedKernelFunctor::derivative ( const svm_node x,
const svm_node y,
const svm_parameter param,
int  degree,
int  index,
bool  isAtEnd,
double  constValue 
) const
virtual

Used for Taylor classification

Reimplemented from GenericKernelFunctorBase.

virtual double GenericKernelFunctorBase::dot ( const svm_node px,
const svm_node py 
) const
virtualinherited
KernelListType& ComposedKernelFunctor::GetKernelFunctorList ( )

Get a reference to the internal kernel list

virtual const MapType& GenericKernelFunctorBase::GetMapParameters ( ) const
virtualinherited
virtual MapType GenericKernelFunctorBase::GetMapParameters ( )
virtualinherited
bool ComposedKernelFunctor::GetMultiplyKernelFunctor ( )
virtual std::string GenericKernelFunctorBase::GetName ( void  ) const
virtualinherited
std::vector<double> ComposedKernelFunctor::GetPonderationList ( )

Set/Get the ponderation list to apply to each svm_model of the composed kernel

template<class T >
T GenericKernelFunctorBase::GetValue ( const char *  option) const
inlineinherited

Definition at line 59 of file svm.h.

References GenericKernelFunctorBase::m_MapParameters.

virtual int ComposedKernelFunctor::load_parameters ( FILE **  pfile)
virtual

Reimplemented from GenericKernelFunctorBase.

virtual double ComposedKernelFunctor::operator() ( const svm_node x,
const svm_node y,
const svm_parameter param 
) const
virtual

Reimplemented from GenericKernelFunctorBase.

Self& ComposedKernelFunctor::operator= ( const Self copy)
protected
virtual void ComposedKernelFunctor::print_parameters ( void  ) const
virtual

Reimplemented from GenericKernelFunctorBase.

virtual int ComposedKernelFunctor::save_parameters ( FILE **  pfile,
const char *  composed_kernel_parameters_keyword 
) const
virtual

Reimplemented from GenericKernelFunctorBase.

void ComposedKernelFunctor::SetKernelFunctorList ( const KernelListType kernelFunctorList)

Set internal kernel list. A clone is made of each kernel when copying

virtual void GenericKernelFunctorBase::SetMapParameters ( const MapType map)
virtualinherited
void ComposedKernelFunctor::SetMultiplyKernelFunctor ( bool  val)

Set/Get the boolean to know which operation has to be done with the kernel functors.

virtual void GenericKernelFunctorBase::SetName ( std::string  name)
virtualinherited
void ComposedKernelFunctor::SetPonderationModelList ( const std::vector< double > &  list)
template<class T >
void GenericKernelFunctorBase::SetValue ( const char *  option,
const T &  value 
)
inlineinherited

Definition at line 70 of file svm.h.

References GenericKernelFunctorBase::m_MapParameters.

virtual svm_node* GenericKernelFunctorBase::sub ( const svm_node px,
const svm_node py 
) const
virtualinherited
virtual void GenericKernelFunctorBase::Update ( void  )
virtualinherited

Member Data Documentation

KernelListType ComposedKernelFunctor::m_KernelFunctorList
private

Generic kernel functors that composed kernel

Definition at line 162 of file svm.h.

std::vector<double> ComposedKernelFunctor::m_PonderationList
private

Ponderation list to apply to each svm_model of the composed kernel

Definition at line 164 of file svm.h.


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

Generated at Sat Mar 8 2014 16:29:09 for Orfeo Toolbox with doxygen 1.8.3.1