19 #include "glog/logging.h" 25 const int num_submaps_to_keep)
26 :
trajectory_id_(trajectory_id), num_submaps_to_keep_(num_submaps_to_keep) {
27 CHECK_GE(num_submaps_to_keep, 3);
virtual bool IsFinished(int trajectory_id) const =0
virtual void MarkSubmapAsTrimmed(const SubmapId &submap_id)=0
bool IsFinished() override
PureLocalizationTrimmer(int trajectory_id, int num_submaps_to_keep)
virtual std::vector< SubmapId > GetSubmapIds(int trajectory_id) const =0
void Trim(Trimmable *pose_graph) override