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

InputPaths.h « SCFG « moses2 « contrib - github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 37e2404cf902ca0d3010eb25a321fcaf1c597930 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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;

};

}
}