diff options
author | Hieu Hoang <fishandfrolick@gmail.com> | 2012-06-22 21:19:16 +0400 |
---|---|---|
committer | Hieu Hoang <fishandfrolick@gmail.com> | 2012-06-22 21:19:16 +0400 |
commit | 7d19fe13ae613d07c3690f6849ce811726ce1169 (patch) | |
tree | b9cde99ea1b63716c3701bbb181b3805d30aeff2 /mert/Types.h | |
parent | db06d9cf654997857b9a3c828643039656e8fe09 (diff) |
merge Lexi Birch's LRScore from mert_mtm5 branch
Diffstat (limited to 'mert/Types.h')
-rw-r--r-- | mert/Types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mert/Types.h b/mert/Types.h index 71904e4ad..ae452afa6 100644 --- a/mert/Types.h +++ b/mert/Types.h @@ -39,4 +39,7 @@ typedef std::vector<ScoreArray> scoredata_t; typedef std::map<std::size_t, std::string> idx2name; typedef std::map<std::string, std::size_t> name2idx; +typedef enum { HAMMING_DISTANCE=0, KENDALL_DISTANCE } distanceMetric_t; +typedef enum { REFERENCE_CHOICE_AVERAGE=0, REFERENCE_CHOICE_CLOSEST } distanceMetricReferenceChoice_t; + #endif // MERT_TYPE_H_ |