Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjfouet <jfouet@1f5c12ca-751b-0410-a591-d2e778427230>2008-05-14 18:25:07 +0400
committerjfouet <jfouet@1f5c12ca-751b-0410-a591-d2e778427230>2008-05-14 18:25:07 +0400
commitcb5305ab4633bb47f962c01babf61c060f24b902 (patch)
treef503f8af9f4f209925a38c6324c19a462476ff44 /mert/Point.h
parent9202738527586ef1e5f603998b4537912b2788ac (diff)
implementation of LineOptimizer
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@1659 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'mert/Point.h')
-rw-r--r--mert/Point.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mert/Point.h b/mert/Point.h
index 3d5769327..4a1f5b633 100644
--- a/mert/Point.h
+++ b/mert/Point.h
@@ -11,6 +11,8 @@ class Point: public std::vector<lambda>{
Point(vector<lambda> init):vector<lambda>(init),score(numeric_limits<statscore>::max()){};
void randomize(const std::vector<lambda>&min,const std::vector<lambda>& max);
double operator*(FeatureStats&)const;//compute the feature function
+ Point operator+(const Point&)const;
+ Point operator*(float&)const;//compute the feature function
void normalize();
};