summaryrefslogtreecommitdiff
path: root/src/forest_writer.h
blob: 819a8940e8add9d5e95d163c6f9aa08d222aa3c0 (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