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:
authorHieu Hoang <hieuhoang@gmail.com>2015-02-19 15:27:23 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-02-19 15:27:23 +0300
commit32de07502217879f0d354ec810c8e669f4d45d3c (patch)
treefafdf8f63d9902e4fd2b45f05902faa5d65df996 /moses/ForestInput.h
parent6d4bad0f78ede5bcf7eaaea1de584f42bce8e91f (diff)
beautify
Diffstat (limited to 'moses/ForestInput.h')
-rw-r--r--moses/ForestInput.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/moses/ForestInput.h b/moses/ForestInput.h
index 6a2327cd2..121eb7e06 100644
--- a/moses/ForestInput.h
+++ b/moses/ForestInput.h
@@ -17,7 +17,7 @@ namespace Moses
class ForestInput : public Sentence
{
- public:
+public:
friend std::ostream &operator<<(std::ostream&, const ForestInput &);
ForestInput() : m_rootVertex(NULL) {}
@@ -36,17 +36,15 @@ class ForestInput : public Sentence
virtual TranslationOptionCollection*
CreateTranslationOptionCollection() const;
- boost::shared_ptr<const Syntax::F2S::Forest> GetForest() const
- {
+ boost::shared_ptr<const Syntax::F2S::Forest> GetForest() const {
return m_forest;
}
- const Syntax::F2S::Forest::Vertex *GetRootVertex() const
- {
+ const Syntax::F2S::Forest::Vertex *GetRootVertex() const {
return m_rootVertex;
}
- private:
+private:
typedef Syntax::F2S::Forest Forest;
struct VertexSetHash {
@@ -66,7 +64,7 @@ class ForestInput : public Sentence
};
typedef boost::unordered_set<Forest::Vertex *, VertexSetHash,
- VertexSetPred> VertexSet;
+ VertexSetPred> VertexSet;
Forest::Vertex *AddOrDeleteVertex(Forest::Vertex *);