diff options
Diffstat (limited to 'moses/src/SentenceStats.h')
-rw-r--r-- | moses/src/SentenceStats.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/moses/src/SentenceStats.h b/moses/src/SentenceStats.h deleted file mode 100644 index e3c1715b2..000000000 --- a/moses/src/SentenceStats.h +++ /dev/null @@ -1,21 +0,0 @@ -#ifndef _SENTENCE_STATS_H_ -#define _SENTENCE_STATS_H_ - -#include <iostream> - -struct SentenceStats -{ - SentenceStats() : numRecombinations(0), numPruned(0) {}; - unsigned int numRecombinations; - unsigned int numPruned; - - void ZeroAll() { numRecombinations = 0; numPruned = 0; } -}; - -inline std::ostream& operator<<(std::ostream& os, const SentenceStats& ss) -{ - return os << "number of hypotheses recombined=" << ss.numRecombinations << std::endl - << " \" \" pruned=" << ss.numPruned << std::endl; -} - -#endif |