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 <hieu@hoang.co.uk>2013-05-29 21:16:15 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-05-29 21:16:15 +0400
commit6249432407af8730c10bccc7894c0725fcaf5e47 (patch)
tree3ac1f094b9fdc199b04bc5ef209ce00e3596e37d /moses/TrellisPath.h
parent59bd7deb4b6b9c4f7b3b7dbb055783528fbc31ca (diff)
beautify
Diffstat (limited to 'moses/TrellisPath.h')
-rw-r--r--moses/TrellisPath.h60
1 files changed, 30 insertions, 30 deletions
diff --git a/moses/TrellisPath.h b/moses/TrellisPath.h
index d8005435c..26e722696 100644
--- a/moses/TrellisPath.h
+++ b/moses/TrellisPath.h
@@ -59,36 +59,36 @@ protected:
void InitScore();
public:
- TrellisPath(); // not implemented
-
- //! create path OF pure hypo
- TrellisPath(const Hypothesis *hypo);
-
- /** create path from another path, deviate at edgeIndex by using arc instead,
- * which may change other hypo back from there
- */
- TrellisPath(const TrellisPath &copy, size_t edgeIndex, const Hypothesis *arc);
-
- //! get score for this path throught trellis
- inline float GetTotalScore() const { return m_totalScore; }
-
- /** list of each hypo/arcs in path. For anything other than the best hypo, it is not possible just to follow the
- * m_prevHypo variable in the hypothesis object
- */
- inline const std::vector<const Hypothesis *> &GetEdges() const
- {
- return m_path;
- }
-
- inline size_t GetSize() const
- {
- return m_path.size();
- }
-
- //! create a set of next best paths by wiggling 1 of the node at a time.
- void CreateDeviantPaths(TrellisPathCollection &pathColl) const;
-
- //! create a list of next best paths by wiggling 1 of the node at a time.
+ TrellisPath(); // not implemented
+
+ //! create path OF pure hypo
+ TrellisPath(const Hypothesis *hypo);
+
+ /** create path from another path, deviate at edgeIndex by using arc instead,
+ * which may change other hypo back from there
+ */
+ TrellisPath(const TrellisPath &copy, size_t edgeIndex, const Hypothesis *arc);
+
+ //! get score for this path throught trellis
+ inline float GetTotalScore() const {
+ return m_totalScore;
+ }
+
+ /** list of each hypo/arcs in path. For anything other than the best hypo, it is not possible just to follow the
+ * m_prevHypo variable in the hypothesis object
+ */
+ inline const std::vector<const Hypothesis *> &GetEdges() const {
+ return m_path;
+ }
+
+ inline size_t GetSize() const {
+ return m_path.size();
+ }
+
+ //! create a set of next best paths by wiggling 1 of the node at a time.
+ void CreateDeviantPaths(TrellisPathCollection &pathColl) const;
+
+ //! create a list of next best paths by wiggling 1 of the node at a time.
void CreateDeviantPaths(TrellisPathList &pathColl) const;
inline const ScoreComponentCollection &GetScoreBreakdown() const {