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

Undocumented. More...

#include <svm.h>

+ Inheritance diagram for GenericKernelFunctorBase:
+ Collaboration diagram for GenericKernelFunctorBase:

Public Types

typedef MapType::const_iterator MapConstIterator
 
typedef MapType::iterator MapIterator
 
typedef std::map< std::string,
std::string > 
MapType
 
typedef GenericKernelFunctorBase Self
 

Public Member Functions

 GenericKernelFunctorBase ()
 
virtual ~GenericKernelFunctorBase ()
 
virtual svm_nodeadd (const svm_node *px, const svm_node *py) const
 
virtual GenericKernelFunctorBaseClone () const
 
virtual double derivative (const svm_node *, const svm_node *, const svm_parameter &, int, int, bool, double) const
 
virtual double dot (const svm_node *px, const svm_node *py) const
 
virtual const MapTypeGetMapParameters () const
 
virtual MapType GetMapParameters ()
 
virtual std::string GetName (void) const
 
template<class T >
GetValue (const char *option) const
 
virtual int load_parameters (FILE **pfile)
 
virtual double operator() (const svm_node *, const svm_node *, const svm_parameter &) const
 
virtual void print_parameters (void) const
 
virtual int save_parameters (FILE **pfile, const char *generic_kernel_parameters_keyword) const
 
virtual void SetMapParameters (const MapType &map)
 
virtual void SetName (std::string name)
 
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

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

Private Attributes

MapType m_MapParameters
 
std::string m_Name
 

Detailed Description

Undocumented.

Definition at line 18 of file svm.h.

Member Typedef Documentation

typedef MapType::const_iterator GenericKernelFunctorBase::MapConstIterator

Definition at line 25 of file svm.h.

typedef MapType::iterator GenericKernelFunctorBase::MapIterator

Definition at line 24 of file svm.h.

typedef std::map<std::string, std::string> GenericKernelFunctorBase::MapType

Definition at line 23 of file svm.h.

Definition at line 21 of file svm.h.

Constructor & Destructor Documentation

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

Member Function Documentation

virtual svm_node* GenericKernelFunctorBase::add ( const svm_node px,
const svm_node py 
) const
virtual
virtual GenericKernelFunctorBase* GenericKernelFunctorBase::Clone ( ) const
virtual
virtual double GenericKernelFunctorBase::derivative ( const svm_node ,
const svm_node ,
const svm_parameter ,
int  ,
int  ,
bool  ,
double   
) const
virtual
virtual double GenericKernelFunctorBase::dot ( const svm_node px,
const svm_node py 
) const
virtual
virtual const MapType& GenericKernelFunctorBase::GetMapParameters ( ) const
virtual
virtual MapType GenericKernelFunctorBase::GetMapParameters ( )
virtual
virtual std::string GenericKernelFunctorBase::GetName ( void  ) const
virtual
template<class T >
T GenericKernelFunctorBase::GetValue ( const char *  option) const
inline

Definition at line 59 of file svm.h.

References m_MapParameters.

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

Reimplemented in ComposedKernelFunctor.

virtual double GenericKernelFunctorBase::operator() ( const svm_node ,
const svm_node ,
const svm_parameter  
) const
virtual
Self& GenericKernelFunctorBase::operator= ( const Self copy)
protected
virtual void GenericKernelFunctorBase::print_parameters ( void  ) const
virtual

Reimplemented in ComposedKernelFunctor.

virtual int GenericKernelFunctorBase::save_parameters ( FILE **  pfile,
const char *  generic_kernel_parameters_keyword 
) const
virtual

Reimplemented in ComposedKernelFunctor.

virtual void GenericKernelFunctorBase::SetMapParameters ( const MapType map)
virtual
virtual void GenericKernelFunctorBase::SetName ( std::string  name)
virtual
template<class T >
void GenericKernelFunctorBase::SetValue ( const char *  option,
const T &  value 
)
inline

Definition at line 70 of file svm.h.

References m_MapParameters.

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

Member Data Documentation

MapType GenericKernelFunctorBase::m_MapParameters
private

Kernel functor parameters

Definition at line 89 of file svm.h.

Referenced by GetValue(), and SetValue().

std::string GenericKernelFunctorBase::m_Name
private

Functor label name (without space)

Definition at line 92 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