SHOGUN  3.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MMDKernelSelectionComb.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 __MMDKERNELSELECTIONCOMB_H_
11 #define __MMDKERNELSELECTIONCOMB_H_
12 
13 #include <shogun/lib/config.h>
14 
16 #include <shogun/lib/SGMatrix.h>
17 #include <shogun/lib/external/libqp.h>
18 
19 namespace shogun
20 {
21 
22 class CLinearTimeMMD;
23 
29 {
30 public:
31 
34 
41 
43  virtual ~CMMDKernelSelectionComb();
44 
50  virtual CKernel* select_kernel();
51 
53  virtual const char* get_name() const=0;
54 
55 protected:
69 
71  static const float64_t* get_Q_col(uint32_t i);
72 
74  static void print_state(libqp_state_T state);
75 
78 
81 
84 
87 
88 private:
90  void init();
91 };
92 
93 }
94 
95 #endif /* __MMDKERNELSELECTIONCOMB_H_ */

SHOGUN Machine Learning Toolbox - Documentation