SHOGUN  v1.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 
46 {
47 public:
48 
49  /* constructor */
50  CIsomap();
51 
52  /* destructor */
53  virtual ~CIsomap();
54 
56  const char* get_name() const;
57 
61  void set_k(int32_t k);
62 
66  int32_t get_k() const;
67 
69 protected:
70 
72  virtual void init();
73 
79 
80 
82 protected:
83 
85  int32_t m_k;
86 
88 protected:
89 
93  static void* run_dijkstra_thread(void* p);
94 
100 
101 };
102 }
103 #endif /* HAVE_LAPACK */
104 #endif /* ISOMAP_H_ */

SHOGUN Machine Learning Toolbox - Documentation