Last change
on this file since 446 was
446,
checked in by Peter, 17 years ago
|
added copy constructor for KernelView? and added construction of KernelView? in test
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Id
|
File size:
464 bytes
|
Line | |
---|
1 | // $Id: KernelView.cc 446 2005-12-15 17:11:29Z peter $ |
---|
2 | |
---|
3 | #include <c++_tools/svm/KernelView.h> |
---|
4 | |
---|
5 | #include <c++_tools/svm/KernelFunction.h> |
---|
6 | |
---|
7 | |
---|
8 | namespace theplu { |
---|
9 | namespace svm { |
---|
10 | |
---|
11 | KernelView::KernelView(const Kernel& kernel, const std::vector<size_t>& index) |
---|
12 | : Kernel(), kernel_(&kernel), index_(index) |
---|
13 | { |
---|
14 | } |
---|
15 | |
---|
16 | KernelView::KernelView(const KernelView& other) |
---|
17 | : Kernel(), kernel_(other.kernel_), index_(other.index_) |
---|
18 | { |
---|
19 | } |
---|
20 | |
---|
21 | KernelView::~KernelView(void) |
---|
22 | { |
---|
23 | } |
---|
24 | |
---|
25 | }} // of namespace svm and namespace theplu |
---|
Note: See
TracBrowser
for help on using the repository browser.