From cc2fb8549e9729ecf2d61dc771a7c348feb106f6 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sun, 13 Nov 2011 16:17:02 +0100 Subject: removed hgsampler, more stats, unit_weight_vector arg --- dtrain/hgsampler.h | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 dtrain/hgsampler.h (limited to 'dtrain/hgsampler.h') diff --git a/dtrain/hgsampler.h b/dtrain/hgsampler.h deleted file mode 100644 index 45c5b8f2..00000000 --- a/dtrain/hgsampler.h +++ /dev/null @@ -1,30 +0,0 @@ -// Chris Dyer -#ifndef _DTRAIN_HGSAMPLER_H_ -#define _DTRAIN_HGSAMPLER_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