mosesdecoder/contrib/other-builds/moses2/Weights.h
2015-10-27 17:35:42 +00:00

31 lines
476 B
C++

/*
* Weights.h
*
* Created on: 24 Oct 2015
* Author: hieu
*/
#ifndef WEIGHTS_H_
#define WEIGHTS_H_
#include <iostream>
#include "TypeDef.h"
class FeatureFunctions;
class Weights {
friend std::ostream& operator<<(std::ostream &, const Weights &);
public:
Weights();
virtual ~Weights();
SCORE operator[](size_t ind) const {
return 444.5f;
}
void CreateFromString(const FeatureFunctions &ffs, const std::string &line);
};
#endif /* WEIGHTS_H_ */