Ignore:
Timestamp:
Feb 14, 2008, 3:26:19 PM (13 years ago)
Author:
Peter
Message:

Closes #247. Removed IteratorWeighted? iterators over weighted container instead can use Iterator with a special Policy.

File:
1 edited

Legend:

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

    r1000 r1088  
    2626*/
    2727
    28 #include "yat/utility/IteratorWeighted.h"
     28#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
     
    4650 
    4751  public:
    48    
    49     /// 'Read Only' Iterator
    50     typedef utility::IteratorWeighted<const double, const classifier::DataLookupWeighted1D>
     52    /// 'Read Only' iterator
     53    typedef utility::StrideIterator<
     54    utility::Iterator<const DataLookup2D, const std::pair<double, double>,
     55                      void, const std::pair<double, double>,
     56                      utility::IteratorPolicyWeighted<const DataLookup2D,
     57                                                      const double,
     58                                                      const double> > >
    5159    const_iterator;
    5260
Note: See TracChangeset for help on using the changeset viewer.