From 4cd076acd1760035df693ff4f93a79b5d5c3d29d Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sun, 25 Sep 2011 21:59:39 +0200 Subject: removed old stuff --- dtrain/ksampler.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'dtrain/ksampler.h') 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 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; -- cgit v1.2.3