Ignore:
Timestamp:
Feb 18, 2008, 6:27:11 AM (15 years ago)
Author:
Peter
Message:

adding iterator typedefs in Lookups

File:
1 edited

Legend:

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

    r1091 r1105  
    8080    const_iterator;
    8181
     82    typedef const_iterator const_column_iterator;
     83    typedef const_iterator const_row_iterator;
     84
    8285    ///
    8386    /// Constructor creating a lookup into the entire \a matrix and \a
     
    264267       \return iterator pointing to first element of column \a i.
    265268     */
    266     const_iterator begin_column(size_t) const;
     269    const_column_iterator begin_column(size_t) const;
    267270
    268271    /**
     
    271274       \return const_iterator pointing to first element of column \a i.
    272275     */
    273     const_iterator begin_row(size_t) const;
     276    const_row_iterator begin_row(size_t) const;
    274277
    275278    ///
     
    286289       \return const_iterator pointing to end of column \a i
    287290     */
    288     const_iterator end_column(size_t) const;
     291    const_column_iterator end_column(size_t) const;
    289292
    290293    /**
    291294       \return const_iterator pointing to end of row \a i
    292295     */
    293     const_iterator end_row(size_t) const;
     296    const_row_iterator end_row(size_t) const;
    294297
    295298    /**
Note: See TracChangeset for help on using the changeset viewer.