mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 22:14:57 +03:00
28 lines
355 B
C++
28 lines
355 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
|