diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-05-30 22:20:54 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-05-30 22:20:54 +0400 |
commit | 47902053b53d1b1af545c25356f0271a70fc55c2 (patch) | |
tree | 885822551605190d5c48c2c2bf33acbced716e4e /moses/FeatureVector.h | |
parent | 117eb76b0a0eb9563028206a547f8bf3e6e43fb2 (diff) |
function to merge feature scores. ie. not add them together.
Diffstat (limited to 'moses/FeatureVector.h')
-rw-r--r-- | moses/FeatureVector.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/moses/FeatureVector.h b/moses/FeatureVector.h index f4261b520..65fd12081 100644 --- a/moses/FeatureVector.h +++ b/moses/FeatureVector.h @@ -257,6 +257,8 @@ public: // divide each element by the number given in the rhs vector FVector& divideEquals(const FVector& rhs); + void merge(const FVector &other); + #ifdef MPI_ENABLE friend class boost::serialization::access; #endif |