mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-11-10 10:59:21 +03:00
29 lines
356 B
C++
29 lines
356 B
C++
#ifndef moses_FFState_h
|
|
#define moses_FFState_h
|
|
|
|
#include "util/check.hh"
|
|
#include <vector>
|
|
|
|
|
|
namespace Moses
|
|
{
|
|
|
|
class FFState
|
|
{
|
|
public:
|
|
virtual ~FFState();
|
|
virtual int Compare(const FFState& other) const = 0;
|
|
};
|
|
|
|
class DummyState : public FFState
|
|
{
|
|
public:
|
|
DummyState() {}
|
|
int Compare(const FFState& other) const {
|
|
return 0;
|
|
}
|
|
};
|
|
|
|
}
|
|
#endif
|