From e8f1795f6aa14ca4a936d675d446894f5c721190 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Fri, 23 Sep 2011 22:02:45 +0200 Subject: more renaming, random pair sampler uses boost rng --- dtrain/sample_hg.h | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 dtrain/sample_hg.h (limited to 'dtrain/sample_hg.h') diff --git a/dtrain/sample_hg.h b/dtrain/sample_hg.h deleted file mode 100644 index 932fd369..00000000 --- a/dtrain/sample_hg.h +++ /dev/null @@ -1,24 +0,0 @@ -#ifndef _SAMPLE_HG_H_ -#define _SAMPLE_HG_H_ - -#include -#include "sparse_vector.h" -#include "sampler.h" -#include "wordid.h" - -class Hypergraph; - -struct HypergraphSampler { - struct Hypothesis { - std::vector words; - SparseVector fmap; - prob_t model_score; - }; - - static void sample_hypotheses(const Hypergraph& hg, - unsigned n, - MT19937* rng, - std::vector* hypos); -}; - -#endif -- cgit v1.2.3