Ignore:
Timestamp:
Feb 27, 2008, 1:06:55 AM (14 years ago)
Author:
Peter
Message:

removing DataLookup2D closes ticket:243

File:
1 edited

Legend:

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

    r1169 r1170  
    2727*/
    2828
    29 #include "DataLookup2D.h"
    3029#include "yat/utility/Container2DIterator.h"
    3130#include "yat/utility/Index.h"
     
    7271  /// constructors and assignments.
    7372  ///
    74   class MatrixLookup : public DataLookup2D
     73  class MatrixLookup
    7574  {
    7675  public:
     
    257256
    258257    /**
     258       \return number of columns
     259    */
     260    size_t columns(void) const;
     261
     262    /**
    259263       \return const_iterator pointing to end of matrix
    260264     */
     
    270274     */
    271275    const_row_iterator end_row(size_t) const;
     276
     277    /**
     278       \return number of rows
     279    */
     280    size_t rows(void) const;
    272281
    273282    ///
     
    296305    friend class MatrixLookupWeighted;
    297306
     307    utility::Index column_index_;
    298308    typedef utility::SmartPtr<const utility::Matrix> MatrixP;
    299309    MatrixP data_;
     310    utility::Index row_index_;
     311
     312    // for assertions
     313    bool validate(void) const;
    300314  }; 
    301315 
    302316  ///
    303   /// The output operator DataLookup2D
     317  /// The output operator MatrixLookup
    304318  ///
    305319  std::ostream& operator<< (std::ostream& s, const MatrixLookup&);
Note: See TracChangeset for help on using the changeset viewer.