Hi all

I've implemented a feature function in the old version of Moses and it
works fine.
I'd like to re-implement my code in the new version of moses, but it get's
this error:
./moses/FF/Aref.h:330:50: error: cannot allocate an object of abstract type
‘Moses::ArefState’
./moses/FF/Aref.h:271:7: note:   because the following virtual functions
are pure within ‘Moses::ArefState’: In file included from
./moses/FF/Aref.h:5:0,from
moses/FF/Factory.cpp:4:./moses/FF/FFState.h:15:18: note:       virtual
size_t Moses::FFState::hash() const./moses/FF/FFState.h:16:16: note:
virtual bool Moses::FFState::operator==(const Moses::FFState&) const

I guess I should implement hash() and == functions. right?
If so, could anyone please tell me what's the task of these functions?

-- 
Arefeh Kazemi
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to