get unchecked candidate with minimum distance
| 57 | |
| 58 | // get unchecked candidate with minimum distance |
| 59 | PID pop() { |
| 60 | PID cur_id = data_[cur_].id; |
| 61 | set_checked(data_[cur_].id); |
| 62 | ++cur_; |
| 63 | while (cur_ < size_ && is_checked(data_[cur_].id)) { |
| 64 | ++cur_; |
| 65 | } |
| 66 | return cur_id; |
| 67 | } |
| 68 | |
| 69 | void clear() { |
| 70 | size_ = 0; |
no outgoing calls
no test coverage detected