mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-30 15:34:01 +03:00
30 lines
441 B
C++
30 lines
441 B
C++
#ifndef moses_FFState_h
|
|
#define moses_FFState_h
|
|
|
|
#include "util/check.hh"
|
|
#include <vector>
|
|
|
|
|
|
namespace Moses
|
|
{
|
|
|
|
/** @todo What is the difference between this and the classes in FeatureFunction?
|
|
*/
|
|
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
|