mosesdecoder/contrib/mira/Hildreth.h
2015-01-08 11:49:53 +00:00

14 lines
383 B
C++

#include "moses/FeatureVector.h"
#include "moses/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);
};
}