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:
Diffstat (limited to 'contrib/moses2/SCFG/InputPaths.h')
-rw-r--r--contrib/moses2/SCFG/InputPaths.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/contrib/moses2/SCFG/InputPaths.h b/contrib/moses2/SCFG/InputPaths.h
new file mode 100644
index 000000000..37e2404cf
--- /dev/null
+++ b/contrib/moses2/SCFG/InputPaths.h
@@ -0,0 +1,43 @@
+/*
+ * InputPaths.h
+ *
+ * Created on: 23 Oct 2015
+ * Author: hieu
+ */
+
+#pragma once
+
+#include <vector>
+#include "../InputPathsBase.h"
+#include "../legacy/Matrix.h"
+
+namespace Moses2
+{
+
+class Sentence;
+class System;
+
+namespace SCFG
+{
+class InputPath;
+
+class InputPaths: public InputPathsBase
+{
+public:
+ void Init(const InputType &input, const ManagerBase &mgr);
+
+ const Matrix<InputPath*> &GetMatrix() const
+ {
+ return *m_matrix;
+ }
+
+ std::string Debug(const System &system) const;
+
+protected:
+ Matrix<InputPath*> *m_matrix;
+
+};
+
+}
+}
+