diff options
author | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2011-11-12 11:50:18 +0400 |
---|---|---|
committer | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2011-11-12 11:50:18 +0400 |
commit | ae9701ff7758bc7a8a1238278f823b234c16a697 (patch) | |
tree | ff474e5f76203a660da1a787ebd3d6871b86544d /mert/Point.h | |
parent | df0874df89429dc940df75b125a02362e3b1b539 (diff) |
Fix initialization of score_, and add destructor.
Diffstat (limited to 'mert/Point.h')
-rw-r--r-- | mert/Point.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mert/Point.h b/mert/Point.h index a836a94b1..0aa649b1a 100644 --- a/mert/Point.h +++ b/mert/Point.h @@ -62,10 +62,12 @@ public: return fixedweights.empty(); } - Point() : vector<parameter_t>(dim) {} + Point(); Point(const vector<parameter_t>& init, const vector<parameter_t>& min, const vector<parameter_t>& max); + ~Point(); + void Randomize(); // Compute the feature function |