summaryrefslogtreecommitdiff
path: root/decoder/hg_intersect.h
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2012-08-12 23:36:44 -0400
committerChris Dyer <cdyer@cs.cmu.edu>2012-08-12 23:36:44 -0400
commit81ac6ea30c1105693e9d6886eff686908180d7b9 (patch)
treea28ea17bfac39fd5e7984c13cdc0a74bd7d6e50d /decoder/hg_intersect.h
parent1807f30edc1ff02f908436d38cc8f5ca513c9908 (diff)
redefine HG
Diffstat (limited to 'decoder/hg_intersect.h')
-rw-r--r--decoder/hg_intersect.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/decoder/hg_intersect.h b/decoder/hg_intersect.h
index 826bdaae..29a5ea2a 100644
--- a/decoder/hg_intersect.h
+++ b/decoder/hg_intersect.h
@@ -1,13 +1,11 @@
#ifndef _HG_INTERSECT_H_
#define _HG_INTERSECT_H_
-#include <vector>
-
#include "lattice.h"
class Hypergraph;
-struct HG {
- static bool Intersect(const Lattice& target, Hypergraph* hg);
+namespace HG {
+ bool Intersect(const Lattice& target, Hypergraph* hg);
};
#endif