diff options
author | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2011-11-12 04:40:01 +0400 |
---|---|---|
committer | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2011-11-12 04:40:01 +0400 |
commit | ce9a628ed0337d051ce7058dcace2fa53df6d884 (patch) | |
tree | bcc9d8045725bd8553725b9acfd04b13e7a50a80 /mert/Optimizer.h | |
parent | 664ffe0130e76a32571965a5f9fce1f6ff176ae1 (diff) |
Remove unnecessary semicolons used in end of member functions.
Diffstat (limited to 'mert/Optimizer.h')
-rw-r--r-- | mert/Optimizer.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/mert/Optimizer.h b/mert/Optimizer.h index b2834ebbe..c9330a5bd 100644 --- a/mert/Optimizer.h +++ b/mert/Optimizer.h @@ -54,7 +54,8 @@ public: */ statscore_t GetStatScore(const vector<unsigned>& nbests)const { return scorer->score(nbests); - }; + } + statscore_t GetStatScore(const Point& param)const; vector<statscore_t > GetIncStatScore(vector<unsigned> ref,vector<vector <pair<unsigned,unsigned> > >)const; @@ -75,7 +76,7 @@ class SimpleOptimizer: public Optimizer private: static float eps; public: - SimpleOptimizer(unsigned dim,vector<unsigned> i2O,vector<parameter_t> start,unsigned int nrandom):Optimizer(dim,i2O,start,nrandom) {}; + SimpleOptimizer(unsigned dim,vector<unsigned> i2O,vector<parameter_t> start,unsigned int nrandom): Optimizer(dim, i2O, start,nrandom) {} virtual statscore_t TrueRun(Point&)const; }; @@ -87,7 +88,7 @@ class RandomDirectionOptimizer: public Optimizer private: static float eps; public: - RandomDirectionOptimizer(unsigned dim,vector<unsigned> i2O,vector<parameter_t> start,unsigned int nrandom):Optimizer(dim,i2O,start,nrandom) {}; + RandomDirectionOptimizer(unsigned dim,vector<unsigned> i2O,vector<parameter_t> start,unsigned int nrandom): Optimizer(dim,i2O,start,nrandom) {} virtual statscore_t TrueRun(Point&)const; }; @@ -97,7 +98,7 @@ public: class RandomOptimizer: public Optimizer { public: - RandomOptimizer(unsigned dim,vector<unsigned> i2O,vector<parameter_t> start, unsigned int nrandom):Optimizer(dim,i2O,start,nrandom) {}; + RandomOptimizer(unsigned dim,vector<unsigned> i2O,vector<parameter_t> start, unsigned int nrandom): Optimizer(dim,i2O,start,nrandom) {} virtual statscore_t TrueRun(Point&)const; }; |