|
SHOGUN
v1.1.0
|
UI distance.
Definition at line 25 of file GUIDistance.h.

Public Member Functions | |
| CGUIDistance () | |
| CGUIDistance (CSGInterface *interface) | |
| ~CGUIDistance () | |
| CDistance * | get_distance () |
| bool | set_distance (CDistance *dist) |
| CDistance * | create_generic (EDistanceType type) |
| CDistance * | create_minkowski (float64_t k=3) |
| CDistance * | create_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 |
Public Member Functions inherited from CSGObject | |
| CSGObject () | |
| CSGObject (const CSGObject &orig) | |
| virtual | ~CSGObject () |
| virtual bool | is_generic (EPrimitiveType *generic) const |
| template<class T > | |
| void | set_generic () |
| void | unset_generic () |
| virtual void | print_serializable (const char *prefix="") |
| virtual bool | save_serializable (CSerializableFile *file, const char *prefix="") |
| virtual bool | load_serializable (CSerializableFile *file, const char *prefix="") |
| void | set_global_io (SGIO *io) |
| SGIO * | get_global_io () |
| void | set_global_parallel (Parallel *parallel) |
| Parallel * | get_global_parallel () |
| void | set_global_version (Version *version) |
| Version * | get_global_version () |
| SGVector< char * > | get_modelsel_names () |
| char * | get_modsel_param_descr (const char *param_name) |
| index_t | get_modsel_param_index (const char *param_name) |
| template<> | |
| void | set_generic () |
| template<> | |
| void | set_generic () |
| template<> | |
| void | set_generic () |
| template<> | |
| void | set_generic () |
| template<> | |
| void | set_generic () |
| template<> | |
| void | set_generic () |
| template<> | |
| void | set_generic () |
| template<> | |
| void | set_generic () |
| template<> | |
| void | set_generic () |
| template<> | |
| void | set_generic () |
| template<> | |
| void | set_generic () |
| template<> | |
| void | set_generic () |
| template<> | |
| void | set_generic () |
Protected Attributes | |
| CDistance * | distance |
| CSGInterface * | ui |
| bool | initialized |
Additional Inherited Members | |
Public Attributes inherited from CSGObject | |
| SGIO * | io |
| Parallel * | parallel |
| Version * | version |
| Parameter * | m_parameters |
| Parameter * | m_model_selection_parameters |
Protected Member Functions inherited from CSGObject | |
| virtual void | load_serializable_pre () throw (ShogunException) |
| virtual void | load_serializable_post () throw (ShogunException) |
| virtual void | save_serializable_pre () throw (ShogunException) |
| virtual void | save_serializable_post () throw (ShogunException) |
| CGUIDistance | ( | ) |
constructor
Definition at line 29 of file GUIDistance.h.
| CGUIDistance | ( | CSGInterface * | interface | ) |
| ~CGUIDistance | ( | ) |
destructor
Definition at line 55 of file GUIDistance.cpp.
| 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.
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 |
| 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 | ) |
| bool set_distance | ( | CDistance * | dist | ) |
set new distance
Definition at line 65 of file GUIDistance.cpp.
|
protected |
distance
Definition at line 64 of file GUIDistance.h.
|
protected |
initialized
Definition at line 68 of file GUIDistance.h.
|
protected |
ui
Definition at line 66 of file GUIDistance.h.