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.cc

    r680 r720  
    3838  }
    3939
     40  u_long Sampler::size(void) const
     41  {
     42    return training_index_.size();
     43  }
     44
     45  const Target& Sampler::target(void) const
     46  {
     47    return target_;
     48  }
     49
     50  const std::vector<size_t>&
     51  Sampler::training_index(std::vector<size_t>::size_type i) const
     52  {
     53    return training_index_[i];
     54  }
     55
     56  const Target&
     57  Sampler::training_target(std::vector<Target>::size_type i) const
     58  {
     59    return training_target_[i];
     60  }
     61
     62  const std::vector<size_t>&
     63  Sampler::validation_index(std::vector<size_t>::size_type i) const
     64  {
     65    return validation_index_[i];
     66  }
     67
     68  const Target&
     69  Sampler::validation_target(std::vector<Target>::size_type i) const
     70  {
     71    return validation_target_[i];
     72  }
     73
    4074}}} // of namespace classifier, yat, and theplu
Note: See TracChangeset for help on using the changeset viewer.