Ignore:
Timestamp:
Feb 23, 2008, 9:16:22 PM (14 years ago)
Author:
Peter
Message:

KernelLookup? is not inherited from DataLookup2D - fixes #234

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/classifier/KernelLookup.h

    r1127 r1132  
    6666  /// constructors and assignments.
    6767  ///
    68   class KernelLookup : public DataLookup2D
     68  class KernelLookup
    6969  {
    7070
     
    199199    const_row_iterator begin_row(size_t) const;
    200200
     201    /**
     202       \return number of columns
     203    */
     204    size_t columns(void) const;
     205
    201206    ///
    202207    /// Each column in returned DataLookup corresponds to the column
     
    243248     */
    244249    const_row_iterator end_row(size_t) const;
     250
     251    /**
     252       \return number of rows
     253    */
     254    size_t rows(void) const;
    245255
    246256    /**
     
    326336    const KernelLookup& operator=(const KernelLookup&);
    327337
     338    std::vector<size_t> column_index_;
    328339    const Kernel* kernel_;
     340    ///
     341    /// poiter telling how many owners to underlying data. NULL if
     342    /// this is not an owner.
     343    ///
     344    u_int* ref_count_;
     345    std::vector<size_t> row_index_;
    329346   
    330347  }; // class KernelLookup
Note: See TracChangeset for help on using the changeset viewer.