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

adding const_iterator typedef for MatrixLookupWeighted? refs #267

File:
1 edited

Legend:

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

    r1088 r1090  
    2626*/
    2727
    28 #include "DataLookup2D.h"
     28#include "MatrixLookupWeighted.h"
    2929#include "yat/utility/Iterator.h"
    3030#include "yat/utility/IteratorPolicy.h"
     
    3939namespace classifier { 
    4040
    41   class MatrixLookupWeighted;
    42 
    4341  ///
    4442  /// @brief Class for general weighted vector view.
     
    5250    /// 'Read Only' iterator
    5351    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,
     52    utility::Iterator<const MatrixLookupWeighted,
     53                      const std::pair<double, double>, void,
     54                      const std::pair<double, double>,
     55                      utility::IteratorPolicyWeighted<const MatrixLookupWeighted,
    5756                                                      const double,
    5857                                                      const double> > >
     
    6362    ///
    6463    /// @param row_vector if true (default) DataLookup1D is
    65     /// looking into a row of DataLookup2D, otherwise looking into
     64    /// looking into a row of MatrixLookupWeighted, otherwise looking into
    6665    /// a column. @param index which row/column to look into.
    6766    ///
     
    7675    ///
    7776    /// Construct DataLookup1D that owns its underlying matrix. Object
    78     /// has size @ size and all its element is equal to @a value.
     77    /// has size \a size and all its element is equal to \a value.
    7978    ///
    8079    DataLookupWeighted1D(const size_t size, double value=0, double weight=1);
Note: See TracChangeset for help on using the changeset viewer.