SHOGUN  v2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Isomap.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or modify
3  * it under the terms of the GNU General Public License as published by
4  * the Free Software Foundation; either version 3 of the License, or
5  * (at your option) any later version.
6  *
7  * Written (W) 2011 Sergey Lisitsyn
8  * Copyright (C) 2011 Berlin Institute of Technology and Max-Planck-Society
9  */
10 
11 #ifndef ISOMAP_H_
12 #define ISOMAP_H_
13 #include <shogun/lib/config.h>
14 #ifdef HAVE_LAPACK
16 #include <shogun/lib/common.h>
18 #include <shogun/io/SGIO.h>
22 
23 namespace shogun
24 {
25 
26 class CFeatures;
27 class CDistance;
28 
50 {
51 public:
52 
53  /* constructor */
54  CIsomap();
55 
56  /* destructor */
57  virtual ~CIsomap();
58 
60  const char* get_name() const;
61 
65  void set_k(int32_t k);
66 
70  int32_t get_k() const;
71 
73 protected:
74 
76  virtual void init();
77 
83 
84 
86 protected:
87 
89  int32_t m_k;
90 
92 protected:
93 
97  static void* run_dijkstra_thread(void* p);
98 
104 
105 };
106 }
107 #endif /* HAVE_LAPACK */
108 #endif /* ISOMAP_H_ */

SHOGUN Machine Learning Toolbox - Documentation