Ignore:
Timestamp:
Dec 26, 2006, 7:21:36 PM (15 years ago)
Author:
Jari Häkkinen
Message:

Fixes #170. Almost all inlines removed, some classes have no cc file.

File:
1 edited

Legend:

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

    r680 r720  
    5656    /// @return number of partitions
    5757    ///
    58     inline u_long size(void) const { return training_index_.size(); }
     58    u_long size(void) const;
    5959
    6060    ///
    6161    /// @return the targets for the total set
    6262    ///
    63     inline const Target& target(void) const { return target_; }
     63    const Target& target(void) const;
    6464
    6565    ///
    6666    /// @return training indices
    6767    ///
    68     inline const std::vector<size_t>&
    69     training_index(std::vector<size_t>::size_type i) const
    70     { return training_index_[i]; }
     68    const std::vector<size_t>&
     69    training_index(std::vector<size_t>::size_type i) const;
    7170
    7271    ///
     
    7574    /// @note if state is invalid the result is undefined
    7675    ///
    77     inline const Target&
    78     training_target(std::vector<Target>::size_type i) const
    79     { return training_target_[i]; }
     76    const Target&
     77    training_target(std::vector<Target>::size_type i) const;
    8078
    8179    ///
     
    8482    /// @note if state is invalid the result is undefined
    8583    ///
    86     inline const std::vector<size_t>&
    87     validation_index(std::vector<size_t>::size_type i) const
    88     { return validation_index_[i]; }
     84    const std::vector<size_t>&
     85    validation_index(std::vector<size_t>::size_type i) const;
    8986
    9087    ///
     
    9390    /// @note if state is invalid the result is undefined
    9491    ///
    95     inline const Target&
    96     validation_target(std::vector<Target>::size_type i) const
    97     { return validation_target_[i]; }
    98 
     92    const Target& validation_target(std::vector<Target>::size_type i) const;
    9993
    10094  protected:
Note: See TracChangeset for help on using the changeset viewer.