diff options
author | jfouet <jfouet@1f5c12ca-751b-0410-a591-d2e778427230> | 2008-05-15 23:09:01 +0400 |
---|---|---|
committer | jfouet <jfouet@1f5c12ca-751b-0410-a591-d2e778427230> | 2008-05-15 23:09:01 +0400 |
commit | b231ffc8b1d9b81e5f5a6188327b157763344349 (patch) | |
tree | 8aa46ba4c84333575e2f03c4d79593f2f6f32103 /mert/Types.h | |
parent | ad2ee87603dde378c6c275ee29c7b5402396ed6c (diff) |
add Types.h to unify the typedefs
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@1713 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'mert/Types.h')
-rw-r--r-- | mert/Types.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mert/Types.h b/mert/Types.h new file mode 100644 index 000000000..04f849806 --- /dev/null +++ b/mert/Types.h @@ -0,0 +1,15 @@ +#ifndef TYPE_H +#define TYPE_H +#include<vector> + +using namespace std; +typedef float parameter_t; +typedef vector<parameter_t> parameters_t; + +typedef vector<pair<unsigned int, unsigned int> > diff_t; +typedef vector<diff_t> diffs_t; +typedef vector<unsigned int> candidates_t; +typedef float statscore_t; +typedef vector<statscore_t> statscores_t; + +#endif |