Last change
on this file since 99 was
99,
checked in by Peter, 19 years ago
|
Modified documentation follow coding style
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
919 bytes
|
Line | |
---|
1 | // $Id: KernelFunction.h 99 2004-06-10 15:29:46Z peter $ |
---|
2 | |
---|
3 | #ifndef _theplu_cpptools_kernel_function_ |
---|
4 | #define _theplu_cpptools_kernel_function_ |
---|
5 | |
---|
6 | namespace theplu { |
---|
7 | |
---|
8 | namespace gslapi { |
---|
9 | class vector; |
---|
10 | } |
---|
11 | |
---|
12 | namespace cpptools { |
---|
13 | |
---|
14 | /// |
---|
15 | /// Virtual Class calculating one element in the kernel matrix |
---|
16 | /// (i.e. the scalar product in feature space) from the two |
---|
17 | /// corresponding vector in the data matrix. |
---|
18 | /// |
---|
19 | class KernelFunction |
---|
20 | { |
---|
21 | |
---|
22 | public: |
---|
23 | /// |
---|
24 | /// Constructor |
---|
25 | /// |
---|
26 | KernelFunction(void) {}; |
---|
27 | |
---|
28 | /// |
---|
29 | /// Destructor |
---|
30 | /// |
---|
31 | virtual ~KernelFunction(void) {}; |
---|
32 | |
---|
33 | virtual double operator()(const gslapi::vector&, |
---|
34 | const gslapi::vector&) const = 0; |
---|
35 | |
---|
36 | virtual double operator()(const gslapi::vector&, |
---|
37 | const gslapi::vector&, |
---|
38 | const gslapi::vector&, |
---|
39 | const gslapi::vector&) const = 0; |
---|
40 | |
---|
41 | }; // class KernelFunction |
---|
42 | |
---|
43 | }} // of namespace cpptools and namespace theplu |
---|
44 | |
---|
45 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.