mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-28 14:32:38 +03:00
14 lines
383 B
C++
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);
|
|
};
|
|
}
|