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

adding const_iterator typedef for MatrixLookupWeighted? refs #267

File:
1 edited

Legend:

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

    r1035 r1090  
    2727
    2828#include "DataLookup2D.h"
     29#include "yat/utility/Iterator.h"
     30#include "yat/utility/IteratorPolicy.h"
     31#include "yat/utility/StrideIterator.h"
    2932
    3033#include <iostream>
     34#include <utility>
    3135#include <vector>
    3236
     
    6670 
    6771  public:
    68 
     72    /// 'Read Only' iterator
     73    typedef utility::StrideIterator<
     74    utility::Iterator<const MatrixLookupWeighted,
     75                      const std::pair<double, double>, void, 
     76                      const std::pair<double, double>,
     77                      utility::IteratorPolicyWeighted<const MatrixLookupWeighted,
     78                                                      const double,
     79                                                      const double> > >
     80    const_iterator;
    6981
    7082    ///
Note: See TracChangeset for help on using the changeset viewer.