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);
const int num_submaps_to_keep_
virtual void MarkSubmapAsTrimmed(const SubmapId &submap_id)=0
virtual int num_submaps(int trajectory_id) const =0
PureLocalizationTrimmer(int trajectory_id, int num_submaps_to_keep)
void Trim(Trimmable *pose_graph) override