Ignore:
Timestamp:
Feb 18, 2006, 4:06:11 PM (16 years ago)
Author:
Peter
Message:

moved common member variables to base class Kernel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/classifier/Kernel.h

    r451 r512  
    3535    /// Default constructor
    3636    ///
    37     Kernel(void) {};
     37    //Kernel(void) {};
    3838
    3939    ///
     
    4747    ///   sample. @note Can not handle NaNs.
    4848    ///
    49     Kernel(const gslapi::matrix&, const KernelFunction&) {};
     49    Kernel(const gslapi::matrix& data, const KernelFunction& kf)
     50      : data_(data), kf_(&kf) {};
    5051   
    5152    ///
     
    6667   
    6768  protected:
     69    const gslapi::matrix& data_;
     70    const KernelFunction* kf_;
    6871
    6972  }; // class Kernel
Note: See TracChangeset for help on using the changeset viewer.