summaryrefslogtreecommitdiff
path: root/dtrain/hgsampler.h
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2011-11-13 16:17:02 +0100
committerPatrick Simianer <p@simianer.de>2011-11-13 16:17:02 +0100
commit853e07938ea3eaf0654911539bd5169a1b660220 (patch)
treeb8ed5de27564eb86862702ad65aac071d4cd3f5d /dtrain/hgsampler.h
parenteffc9bfc40a0559ce36a155daa15e0dc53e93b75 (diff)
removed hgsampler, more stats, unit_weight_vector arg
Diffstat (limited to 'dtrain/hgsampler.h')
-rw-r--r--dtrain/hgsampler.h30
1 files changed, 0 insertions, 30 deletions
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 <vector>
-#include "sparse_vector.h"
-#include "sampler.h"
-#include "wordid.h"
-
-class Hypergraph;
-
-struct HypergraphSampler {
-
- struct Hypothesis {
- std::vector<WordID> words;
- SparseVector<double> fmap;
- prob_t model_score;
- };
-
- static void
- sample_hypotheses(const Hypergraph& hg,
- unsigned n,
- MT19937* rng,
- std::vector<Hypothesis>* hypos);
-};
-
-
-#endif
-