Ignore:
Timestamp:
Feb 26, 2008, 11:09:04 PM (14 years ago)
Author:
Peter
Message:

refs #343 moving data to inherited classes and using SmartPtr?.

File:
1 edited

Legend:

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

    r1168 r1169  
    2929#include "yat/utility/Container2DIterator.h"
    3030#include "yat/utility/IteratorPolicy.h"
     31#include "yat/utility/SmartPtr.h"
    3132#include "yat/utility/StrideIterator.h"
    3233
     
    331332   
    332333  private:
    333     const utility::Matrix* data_;
    334     const utility::Matrix* weights_;
    335     u_int* ref_count_weights_;
     334    typedef utility::SmartPtr<const utility::Matrix> MatrixP;
     335    MatrixP data_;
     336    MatrixP weights_;
    336337  }; 
    337338 
Note: See TracChangeset for help on using the changeset viewer.