From 18937ade50a25db677f10c8250c8815d539d0bb5 Mon Sep 17 00:00:00 2001 From: redpony Date: Mon, 26 Jul 2010 18:41:17 +0000 Subject: fix name collision git-svn-id: https://ws10smt.googlecode.com/svn/trunk@423 ec762483-ff6d-05da-a07a-a48fb63a330f --- decoder/hg.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/decoder/hg.h b/decoder/hg.h index b0785d33..6660a1f5 100644 --- a/decoder/hg.h +++ b/decoder/hg.h @@ -169,21 +169,21 @@ public: hg), and replace the list-of-edges viterbi.h with a tree-structured one. CreateViterbiHypergraph can do for 1best, though. */ - template - std::string derivation_tree(EdgeRecurse const& re,EdgeHandle const& eh,bool indent=true,int show_mask=SPAN|RULE,int maxdepth=0x7FFFFFFF,int depth=0) const { + template + std::string derivation_tree(EdgeRecurse const& re,TEdgeHandle const& eh,bool indent=true,int show_mask=SPAN|RULE,int maxdepth=0x7FFFFFFF,int depth=0) const { std::ostringstream o; derivation_tree_stream(re,eh,o,indent,show_mask,maxdepth,depth); return o.str(); } - template - void derivation_tree_stream(EdgeRecurse const& re,EdgeHandle const& eh,std::ostream &o,bool indent=true,int show_mask=SPAN|RULE,int maxdepth=0x7FFFFFFF,int depth=0) const { + template + void derivation_tree_stream(EdgeRecurse const& re,TEdgeHandle const& eh,std::ostream &o,bool indent=true,int show_mask=SPAN|RULE,int maxdepth=0x7FFFFFFF,int depth=0) const { if (depth>maxdepth) return; if (indent) for (int i=0;iderivation_tree_stream(re,c,o,indent,show_mask,maxdepth,depth+1); -- cgit v1.2.3