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

Hildreth.h « mira - github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 69911524279a33e23b3462bfc9a370289a70fec6 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "FeatureVector.h"
#include "ScoreComponentCollection.h"

namespace Mira {

  class Hildreth {
    public :
      static std::vector<float> optimise (const std::vector<Moses::ScoreComponentCollection>& a, const std::vector<float>& b );
      static std::vector<float> optimise (const std::vector<Moses::ScoreComponentCollection>& a, const std::vector<float>& b, float C);
  };
}