Ignore:
Timestamp:
Sep 25, 2006, 4:12:03 AM (15 years ago)
Author:
Peter
Message:

added function in KernelLookup? to create a KernelLookup? from inner data and outer (passed) data.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/c++_tools/classifier/Kernel.cc

    r640 r658  
    1313namespace classifier {
    1414
    15   Kernel::Kernel(const MatrixLookup& data, const KernelFunction& kf)
    16     : data_(&data), data_w_(0), kf_(&kf), data_owner_(false),
     15  Kernel::Kernel(const MatrixLookup& data, const KernelFunction& kf,
     16                 const bool own)
     17    : data_(&data), data_w_(0), kf_(&kf), data_owner_(own),
    1718      weight_owner_(false)
    1819  {
     
    2021
    2122
    22   Kernel::Kernel(const MatrixLookupWeighted& data, const KernelFunction& kf)
    23     : data_(&data), data_w_(&data), kf_(&kf), data_owner_(false),
    24       weight_owner_(false)
     23  Kernel::Kernel(const MatrixLookupWeighted& data, const KernelFunction& kf,
     24                 const bool own)
     25    : data_(&data), data_w_(&data), kf_(&kf), data_owner_(own),
     26      weight_owner_(own)
    2527  {
    2628  }
Note: See TracChangeset for help on using the changeset viewer.