Ignore:
Timestamp:
Mar 11, 2008, 11:43:22 AM (14 years ago)
Author:
Peter
Message:

writing size_t directly rather than vector<>::size_type

File:
1 edited

Legend:

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

    r1220 r1221  
    7777    /// @note if state is invalid the result is undefined
    7878    ///
    79     const Target&
    80     training_target(std::vector<Target>::size_type i) const;
     79    const Target& training_target(size_t i) const;
    8180
    8281    ///
     
    8584    /// @note if state is invalid the result is undefined
    8685    ///
    87     const utility::Index&
    88     validation_index(std::vector<size_t>::size_type i) const;
     86    const utility::Index& validation_index(size_t i) const;
    8987
    9088    ///
     
    9391    /// @note if state is invalid the result is undefined
    9492    ///
    95     const Target& validation_target(std::vector<Target>::size_type i) const;
     93    const Target& validation_target(size_t i) const;
    9694
    9795  protected:
Note: See TracChangeset for help on using the changeset viewer.