SHOGUN  3.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MeanShiftDataGenerator.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) 2012-2013 Heiko Strathmann
8  */
9 
10 #ifndef __MEANSHIFTDATAGENERATOR_H_
11 #define __MEANSHIFTDATAGENERATOR_H_
12 
13 #include <shogun/lib/config.h>
14 
15 #include <shogun/lib/common.h>
17 
18 namespace shogun
19 {
20 
21 
35 {
36 public:
39 
46  CMeanShiftDataGenerator(float64_t mean_shift, index_t dimension,
48 
50  virtual ~CMeanShiftDataGenerator();
51 
53  virtual const char* get_name() const
54  {
55  return "MeanShiftDataGenerator";
56  }
57 
64  void set_mean_shift_model(float64_t mean_shift, index_t dimension,
66 
68  bool get_next_example();
69 
71  void release_example();
72 
73 private:
75  void init();
76 
77 protected:
80 
83 
86 };
87 
88 }
89 
90 #endif /* __MEANSHIFTDATAGENERATOR_H_ */

SHOGUN Machine Learning Toolbox - Documentation