Public Member Functions | Protected Attributes

CGUIDistance Class Reference

Detailed Description

UI distance.

Definition at line 25 of file GUIDistance.h.

Inheritance diagram for CGUIDistance:
Inheritance graph

List of all members.

Public Member Functions

 CGUIDistance ()
 CGUIDistance (CSGInterface *interface)
 ~CGUIDistance ()
CDistanceget_distance ()
bool set_distance (CDistance *dist)
CDistancecreate_generic (EDistanceType type)
CDistancecreate_minkowski (float64_t k=3)
CDistancecreate_hammingword (bool use_sign=false)
bool init_distance (const char *target)
bool save_distance (char *param)
bool is_initialized ()
virtual const char * get_name () const

Protected Attributes

CSGInterface * ui
bool initialized

Constructor & Destructor Documentation

CGUIDistance (  ) 


Definition at line 29 of file GUIDistance.h.

CGUIDistance ( CSGInterface *  interface  ) 



Definition at line 48 of file GUIDistance.cpp.

~CGUIDistance (  ) 


Definition at line 55 of file GUIDistance.cpp.

Member Function Documentation

CDistance * create_generic ( EDistanceType  type  ) 

create generic distance given by type

Definition at line 179 of file GUIDistance.cpp.

CDistance * create_hammingword ( bool  use_sign = false  ) 

create HammingWord Distance

Definition at line 234 of file GUIDistance.cpp.

CDistance * create_minkowski ( float64_t  k = 3  ) 

create Minkowski Metric

Definition at line 223 of file GUIDistance.cpp.

CDistance * get_distance (  ) 

get current distance

Definition at line 60 of file GUIDistance.cpp.

virtual const char* get_name (  )  const [virtual]
object name

Implements CSGObject.

Definition at line 60 of file GUIDistance.h.

bool init_distance ( const char *  target  ) 

initialize distance

Definition at line 80 of file GUIDistance.cpp.

bool is_initialized (  ) 

is initialized

Definition at line 57 of file GUIDistance.h.

bool save_distance ( char *  param  ) 

save distance


Definition at line 148 of file GUIDistance.cpp.

bool set_distance ( CDistance dist  ) 

set new distance

Definition at line 65 of file GUIDistance.cpp.

Member Data Documentation

CDistance* distance [protected]


Definition at line 64 of file GUIDistance.h.

bool initialized [protected]


Definition at line 68 of file GUIDistance.h.

CSGInterface* ui [protected]


Definition at line 66 of file GUIDistance.h.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation