Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Vermeulen <jtv@precisiontranslationtools.com>2015-05-13 13:05:43 +0300
committerJeroen Vermeulen <jtv@precisiontranslationtools.com>2015-05-13 13:05:43 +0300
commit0859e9a844cc23ff04b09b4ac3d580da9197d1a1 (patch)
tree413793a630870bca4d27077d3193786ce9a1dee7 /moses/HypergraphOutput.cpp
parent87e1f1351fdebc8d65d3ebe6ee726dccc765006e (diff)
Remove trailing whitespace from C++ files.
Diffstat (limited to 'moses/HypergraphOutput.cpp')
-rw-r--r--moses/HypergraphOutput.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/moses/HypergraphOutput.cpp b/moses/HypergraphOutput.cpp
index 412f92578..470d35ba2 100644
--- a/moses/HypergraphOutput.cpp
+++ b/moses/HypergraphOutput.cpp
@@ -47,9 +47,9 @@ namespace Moses
template class HypergraphOutput<Manager>;
template class HypergraphOutput<ChartManager>;
-void
+void
ChartSearchGraphWriterMoses::
-WriteHypos(const ChartHypothesisCollection& hypos,
+WriteHypos(const ChartHypothesisCollection& hypos,
const map<unsigned, bool> &reachable) const
{
@@ -62,20 +62,20 @@ WriteHypos(const ChartHypothesisCollection& hypos,
}
const ChartArcList *arcList = mainHypo.GetArcList();
- if (arcList)
+ if (arcList)
{
ChartArcList::const_iterator iterArc;
- for (iterArc = arcList->begin(); iterArc != arcList->end(); ++iterArc)
+ for (iterArc = arcList->begin(); iterArc != arcList->end(); ++iterArc)
{
const ChartHypothesis &arc = **iterArc;
- if (reachable.find(arc.GetId()) != reachable.end())
+ if (reachable.find(arc.GetId()) != reachable.end())
(*m_out) << m_lineNumber << " " << arc << endl;
}
}
}
}
-void
+void
ChartSearchGraphWriterHypergraph::
WriteHeader(size_t winners, size_t losers) const
{
@@ -83,7 +83,7 @@ WriteHeader(size_t winners, size_t losers) const
(*m_out) << winners << " " << (winners+losers) << endl;
}
-void
+void
ChartSearchGraphWriterHypergraph::
WriteHypos(const ChartHypothesisCollection& hypos,
const map<unsigned, bool> &reachable) const
@@ -113,7 +113,7 @@ WriteHypos(const ChartHypothesisCollection& hypos,
}
}
(*m_out) << edges.size() << endl;
- for (vector<const ChartHypothesis*>::const_iterator ei = edges.begin();
+ for (vector<const ChartHypothesis*>::const_iterator ei = edges.begin();
ei != edges.end(); ++ei) {
const ChartHypothesis* hypo = *ei;
const TargetPhrase& target = hypo->GetCurrTargetPhrase();