cartographer-project / cartographer

Cartographer is a system that provides real-time simultaneous localization and mapping (SLAM) in 2D and 3D across multiple platforms and sensor configurations.
Apache License 2.0
7.03k stars 2.24k forks source link

Question about the termination conditions in the branch and bound algorithm #1862

Open SpriteLin-ZJU opened 2 years ago

SpriteLin-ZJU commented 2 years ago

Candidate3D best_high_resolution_candidate = Candidate3D::Unsuccessful(); best_high_resolution_candidate.score = min_score; for (const Candidate3D& candidate : candidates) { if (candidate.score <= min_score) { break; } …………

Shouldn't it be candidate.score <= best_high_resolution_candidate.score ?

Although I tested two codes, they gave the same result.