summaryrefslogtreecommitdiff
path: root/decoder/forest_writer.h
blob: 4d28de77dfebc3971266e2ea58b9c500766f0afd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef FOREST_WRITER_H_
#define FOREST_WRITER_H_

#include <string>

class Hypergraph;

struct ForestWriter {
  ForestWriter(const std::string& path, int num);
  bool Write(const Hypergraph& forest, bool minimal_rules);

  const std::string fname_;
  bool used_;
};

#endif