| 191 | options.CacheSize(), THROW_CHECK_NOTNULL(database))) {} |
| 192 | |
| 193 | void ExhaustivePairGenerator::Reset() { |
| 194 | start_idx1_ = 0; |
| 195 | start_idx2_ = 0; |
| 196 | } |
| 197 | |
| 198 | bool ExhaustivePairGenerator::HasFinished() const { |
| 199 | return start_idx1_ >= image_ids_.size(); |