Public Member Functions | Private Attributes | List of all members
cartographer::common::Histogram Class Reference

#include <histogram.h>

Public Member Functions

void Add (float value)
 
std::string ToString (int buckets) const
 

Private Attributes

std::vector< float > values_
 

Detailed Description

Definition at line 28 of file common/histogram.h.

Member Function Documentation

◆ Add()

void cartographer::common::Histogram::Add ( float  value)

Definition at line 29 of file common/histogram.cc.

◆ ToString()

std::string cartographer::common::Histogram::ToString ( int  buckets) const

Definition at line 31 of file common/histogram.cc.

Member Data Documentation

◆ values_

std::vector<float> cartographer::common::Histogram::values_
private

Definition at line 34 of file common/histogram.h.


The documentation for this class was generated from the following files:


cartographer
Author(s): The Cartographer Authors
autogenerated on Mon Feb 28 2022 22:00:59