Ignore:
Timestamp:
Sep 26, 2006, 3:44:24 PM (15 years ago)
Author:
Peter
Message:

fixes #147 and #136

File:
1 edited

Legend:

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

    r658 r659  
    148148
    149149  protected:
    150     /// underlyung data
     150    /// underlying data
    151151    const DataLookup2D* data_;
    152152    /// same as data_ if weifghted otherwise a NULL pointer
     
    154154    /// type of Kernel Function e.g. Gaussian (aka RBF)
    155155    const KernelFunction* kf_;
    156     /// if true we own data and will delete it in destructor
    157     const bool data_owner_;
    158     /// if true we own data_w and will delete it in destructor
    159     bool weight_owner_;
     156
     157    ///
     158    /// poiter telling how many owners to underlying data
     159    /// (data_). NULL if this is not an owner.
     160    ///
     161    u_int* ref_count_;
     162
     163    ///
     164    /// poiter telling how many owners to underlying weights
     165    /// (data_w_). NULL if this is not an owner.
     166    ///
     167    u_int* ref_count_w_;
    160168
    161169  private:
Note: See TracChangeset for help on using the changeset viewer.