mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2025-01-06 19:49:41 +03:00
44 lines
548 B
C++
44 lines
548 B
C++
/*
|
|
* 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;
|
|
|
|
};
|
|
|
|
}
|
|
}
|
|
|