From e26434979adc33bd949566ba7bf02dff64e80a3e Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Tue, 2 Oct 2012 00:19:43 -0400 Subject: cdec cleanup, remove bayesian stuff, parsing stuff --- rst_parser/random_tree.cc | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 rst_parser/random_tree.cc (limited to 'rst_parser/random_tree.cc') diff --git a/rst_parser/random_tree.cc b/rst_parser/random_tree.cc deleted file mode 100644 index 23e6e7f7..00000000 --- a/rst_parser/random_tree.cc +++ /dev/null @@ -1,36 +0,0 @@ -#include "arc_factored.h" - -#include -#include -#include -#include - -#include "timing_stats.h" -#include "arc_ff.h" -#include "dep_training.h" -#include "stringlib.h" -#include "filelib.h" -#include "tdict.h" -#include "weights.h" -#include "rst.h" -#include "global_ff.h" - -using namespace std; -namespace po = boost::program_options; - -int main(int argc, char** argv) { - if (argc != 2) { - cerr << argv[0] << " N\n" << endl; - return 1; - } - MT19937 rng; - unsigned n = atoi(argv[1]); - - ArcFactoredForest forest(n); - TreeSampler ts(forest); - EdgeSubset tree; - ts.SampleRandomSpanningTree(&tree, &rng); - cout << tree << endl; - return 0; -} - -- cgit v1.2.3