diff options
author | Paul Baltescu <pauldb89@gmail.com> | 2013-11-25 23:56:31 +0000 |
---|---|---|
committer | Paul Baltescu <pauldb89@gmail.com> | 2013-11-25 23:56:31 +0000 |
commit | 6bdb362473cf0ee1c636ca0c3f4cca63d82a5573 (patch) | |
tree | 1b00bd9647bcbc37838170af7ebde3911672047b /extractor/mocks/mock_sampler.h | |
parent | 0febed366e6c3fedd288bc1bddfcd65f247cab81 (diff) |
Clean up leave-one-out sampling.
Diffstat (limited to 'extractor/mocks/mock_sampler.h')
-rw-r--r-- | extractor/mocks/mock_sampler.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/extractor/mocks/mock_sampler.h b/extractor/mocks/mock_sampler.h index 75c43c27..b2742f62 100644 --- a/extractor/mocks/mock_sampler.h +++ b/extractor/mocks/mock_sampler.h @@ -7,7 +7,9 @@ namespace extractor { class MockSampler : public Sampler { public: - MOCK_CONST_METHOD1(Sample, PhraseLocation(const PhraseLocation& location)); + MOCK_CONST_METHOD2(Sample, PhraseLocation( + const PhraseLocation& location, + const unordered_set<int>& blacklisted_sentence_ids)); }; } // namespace extractor |