MCPcopy Create free account
hub / github.com/AutonomousFieldRoboticsLab/SVIn / GetVariance

Method GetVariance

pose_graph/src/utils/Statistics.cpp:125–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124std::vector<double> Statistics::GetAllSamples(std::string const& tag) { return GetAllSamples(GetHandle(tag)); }
125double Statistics::GetVariance(size_t handle) {
126 std::lock_guard<std::mutex> lock(Instance().mutex_);
127 return Instance().stats_collectors_[handle].LazyVariance();
128}
129double Statistics::GetVariance(std::string const& tag) { return GetVariance(GetHandle(tag)); }
130double Statistics::GetMin(size_t handle) {
131 std::lock_guard<std::mutex> lock(Instance().mutex_);

Callers

nothing calls this directly

Calls 1

LazyVarianceMethod · 0.45

Tested by

no test coverage detected