Changeset 333


Ignore:
Timestamp:
Jun 2, 2005, 3:34:08 PM (16 years ago)
Author:
Jari Häkkinen
Message:

Fixed needed base class contructor.

Location:
trunk/lib/svm
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/svm/Kernel.cc

    r332 r333  
    99namespace theplu {
    1010namespace svm { 
     11
     12
     13  Kernel::Kernel(const Kernel& k)
     14    : data_(k.data_), kf_(k.kf_)
     15  {
     16  }
     17
     18
    1119
    1220  Kernel::Kernel(const gslapi::matrix& data, const KernelFunction& kf)
  • trunk/lib/svm/Kernel.h

    r332 r333  
    2626   
    2727  public:
    28    
     28
    2929    ///
    3030    /// Default constructor
    3131    ///
    32     Kernel();
     32    Kernel(void);
     33
     34    ///
     35    /// Copy constructor
     36    ///
     37    /// @note SHALLOW copy performed.
     38    ///
     39    Kernel(const Kernel&);
    3340
    3441    ///
  • trunk/lib/svm/KernelView.cc

    r331 r333  
    33#include <c++_tools/svm/KernelView.h>
    44
    5 #include <c++_tools/svm/Kernel.h>
    65#include <c++_tools/svm/KernelFunction.h>
    7 #include <c++_tools/svm/Kernel.h>
    8 #include <c++_tools/gslapi/matrix.h>
    9 #include <c++_tools/gslapi/vector.h>
     6
    107
    118namespace theplu {
     
    1310
    1411KernelView::KernelView(const Kernel& kernel, const std::vector<size_t>& index)
    15   : kernel_(&kernel), index_(index)
     12  : Kernel(kernel), kernel_(&kernel), index_(index)
    1613{
    1714  // to view into the original kernel rather than a view
  • trunk/lib/svm/KernelView.h

    r331 r333  
    2121  public:
    2222   
     23    ///
     24    /// Default constructor. Not implemented.
     25    ///
     26    KernelView(void);
     27
    2328    ///
    2429    /// Contructor taking the Kernel to view into and a vector of the
  • trunk/lib/svm/Kernel_SEV.h

    r330 r333  
    2828   
    2929  public:
    30    
     30
     31    ///
     32    ///  Default constructor (not implemented)
     33    ///
     34    Kernel_SEV(void);
     35
    3136    ///
    3237    ///   Constructor taking the data matrix and KernelFunction as
Note: See TracChangeset for help on using the changeset viewer.