summaryrefslogtreecommitdiff
path: root/decoder/forest_writer.h
blob: 54e83470b2442775a7b00d06bd596b093617cdac (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);

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

#endif