Class SamplerBase

Inheritance Relationships

Derived Types

Class Documentation

class map_sparsification::SamplerBase

Subclassed by map_sparsification::GraphPartitionSampler, map_sparsification::LpSolveSparsification, map_sparsification::sampling::LandmarkSamplingWithCostFunctions, map_sparsification::sampling::NoLandmarkSampling, map_sparsification::sampling::RandomLandmarkSampling

Public Types

enum Type

Values:

enumerator kNoSampling
enumerator kRandom
enumerator kHeuristic
enumerator kLpsolveIlp
enumerator kLpsolvePartitionIlp

Public Functions

inline virtual ~SamplerBase()
void sample(const vi_map::VIMap &map, unsigned int desired_num_landmarks, vi_map::LandmarkIdSet *summary_store_landmark_ids)
virtual void sampleMapSegment(const vi_map::VIMap &map, unsigned int desired_num_landmarks, unsigned int time_limit_seconds, const vi_map::LandmarkIdSet &segment_store_landmark_id_set, const pose_graph::VertexIdList &segment_vertex_id_list, vi_map::LandmarkIdSet *summary_store_landmark_ids) = 0
virtual std::string getTypeString() const = 0

Public Members

SamplerBase