diff options
author | Chris Dyer <redpony@gmail.com> | 2014-10-19 15:23:31 -0400 |
---|---|---|
committer | Chris Dyer <redpony@gmail.com> | 2014-10-19 15:23:31 -0400 |
commit | b2d5b3da636cfbef53830245f1f5281add2a4b62 (patch) | |
tree | 60a061bd28ae7fee7e9020b2d28dc1deb28ee423 /decoder/hg_io.h | |
parent | 011a87cfe6d9cc702cb4a8a6d9a765556e460af9 (diff) |
remove json hypergraph format
Diffstat (limited to 'decoder/hg_io.h')
-rw-r--r-- | decoder/hg_io.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/decoder/hg_io.h b/decoder/hg_io.h index 5ba86f69..93a9e280 100644 --- a/decoder/hg_io.h +++ b/decoder/hg_io.h @@ -9,15 +9,6 @@ class Hypergraph; struct HypergraphIO { - // the format is basically a list of nodes and edges in topological order - // any edge you read, you must have already read its tail nodes - // any node you read, you must have already read its incoming edges - // this may make writing a bit more challenging if your forest is not - // topologically sorted (but that probably doesn't happen very often), - // but it makes reading much more memory efficient. - // see test_data/small.json.gz for an email encoding - static bool ReadFromJSON(std::istream* in, Hypergraph* out); - static bool ReadFromBinary(std::istream* in, Hypergraph* out); static bool WriteToBinary(const Hypergraph& hg, std::ostream* out); |