|
g2o
|
#include <sampler.h>
Public Member Functions | |
| GaussianSampler (GaussianSampler const &)=delete | |
| GaussianSampler & | operator= (const GaussianSampler &)=delete |
| GaussianSampler (bool hasGenerator=true) | |
| void | setDistribution (const CovarianceType &cov) |
| SampleType | generateSample () |
| return a sample of the Gaussian distribution | |
| bool | seed (int s) |
Protected Attributes | |
| CovarianceType | _cholesky |
| std::unique_ptr< std::mt19937 > | _generator |
|
delete |
References GaussianSampler().
Referenced by GaussianSampler(), and operator=().
|
inline |
|
inline |
return a sample of the Gaussian distribution
Definition at line 63 of file sampler.h.
References _cholesky, _generator, and g2o::sampleGaussian().
Referenced by main().
|
delete |
References GaussianSampler().
|
inline |
seed the random number generator, returns false if not having an own generator.
Definition at line 72 of file sampler.h.
References _generator.
Referenced by main().
|
inline |
|
protected |
Definition at line 79 of file sampler.h.
Referenced by generateSample(), and setDistribution().
|
protected |
Definition at line 80 of file sampler.h.
Referenced by GaussianSampler(), generateSample(), and seed().