Commit Graph

24 Commits

Author SHA1 Message Date
Hieu Hoang
32e29d6b8a Consistent naming: m_futureScore --> m_estimatedScore 2015-11-09 13:40:31 +00:00
Hieu Hoang
d0be56f8ab Consistent naming: total score -> m_futureScore 2015-11-09 12:44:39 +00:00
Michael Denkowski
1e49d13e49 Consistent tie-breaking for cbds 2015-10-27 11:32:57 -04:00
Michael Denkowski
d3f3389f20 More deterministic tie-breaking for cube pruning (--cbds)
Doesn't slow down regular non-deterministic cube pruning
2015-10-26 12:42:42 -04:00
Hieu Hoang
1258f81555 use bitmap* for comparison. can compare Bitmap* 'cos all bitmaps are created from bitmaps factory class. MUST ensure this is the case 2015-10-26 11:35:09 +00:00
Hieu Hoang
d30a10e52c revert using pointers and references in cube pruning classes, instead create bitmap. Faster, at least for single threaded operation. Kinda strange 2015-10-26 11:25:01 +00:00
Hieu Hoang
52f4086dbc move m_bitmaps into Search class. Cube pruning uses it too 2015-10-26 09:20:08 +00:00
Hieu Hoang
84b1c4b4c0 WordsBitmap -> Bitmap 2015-10-25 13:07:25 +00:00
MosesAdmin
9643043cb7 daily automatic beautifier 2015-10-20 20:16:07 +01:00
Hieu Hoang
b4bffedfcd don't use bitmap& for bitmap container. Seems to slow down for single thread 2015-10-20 15:02:06 +01:00
Hieu Hoang
60add0b376 const 2015-10-19 23:56:15 +01:00
Hieu Hoang
dd21c2c83b segfault 2015-10-19 23:40:09 +01:00
Hieu Hoang
4e691e4969 reuse bitmap key for BitmapContainer 2015-10-19 18:11:33 +01:00
Hieu Hoang
9891e5b50b Revert "reuse bitmap key for BitmapContainer"
This reverts commit 7d98df2b0c.
2015-10-19 17:22:18 +01:00
Hieu Hoang
7d98df2b0c reuse bitmap key for BitmapContainer 2015-10-19 16:52:06 +01:00
Hieu Hoang
be7f0c16de new CalcFutureScore() works with cube pruning 2015-10-05 18:28:52 +01:00
MosesAdmin
82527fc8b2 daily automatic beautifier 2015-09-26 00:00:40 +01:00
Michael Denkowski
56e3bc1ea2 Reintroduce deterministic cube pruning as option
Use --cube-pruning-deterministic-search or --cbds
2015-09-25 11:03:23 +02:00
Michael Denkowski
52b7796ed8 Revert "Make cube pruning deterministic"
This reverts commit 5fbb69806a.
2015-09-23 16:12:28 +02:00
Michael Denkowski
5fbb69806a Make cube pruning deterministic
- When hypotheses have equal scores, compare current target phrases
- Requires keeping a copy of the target phrase to avoid concurrency
  problems with other threads deleting objects while they are being
  compared
2015-09-21 16:25:55 +01:00
mliska
381c3f64d8 std::unordered_set replaces std::set for m_seenPosition. 2014-11-29 16:59:10 +01:00
Hieu Hoang
6ccc17b804 speed up compiling by removing headers from StaticData.h 2013-10-03 11:05:53 +01:00
Hieu Hoang
981351758a delete class TranslationSystem 2013-05-11 14:13:26 +01:00
Hieu Hoang
5e3ef23cef move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00