diff options
author | Patrick Simianer <p@simianer.de> | 2011-09-25 21:59:39 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2011-09-25 21:59:39 +0200 |
commit | 98f12432cf2dc4a906d13d17e122b457882df308 (patch) | |
tree | c454f2ad97704dadd336bd973c5799b7671c8df8 /dtrain/ksampler.h | |
parent | 4d8c300734c441821141f4bff044c439e004ff84 (diff) |
removed old stuff
Diffstat (limited to 'dtrain/ksampler.h')
-rw-r--r-- | dtrain/ksampler.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/dtrain/ksampler.h b/dtrain/ksampler.h index bbe2b402..08bf1498 100644 --- a/dtrain/ksampler.h +++ b/dtrain/ksampler.h @@ -9,10 +9,6 @@ namespace dtrain { -/* - * KSampler - * - */ struct KSampler : public HypSampler { const size_t k_; @@ -34,7 +30,7 @@ struct KSampler : public HypSampler s_.clear(); std::vector<HypergraphSampler::Hypothesis> samples; HypergraphSampler::sample_hypotheses(forest, k_, prng_, &samples); - for ( size_t i = 0; i < k_; ++i ) { + for (size_t i = 0; i < k_; ++i) { ScoredHyp h; h.w = samples[i].words; h.f = samples[i].fmap; |