#include <cmath>
#include <cstddef>
#include <vector>
#include <mcl_3dl/nd.h>
#include <mcl_3dl/pf.h>
#include <gtest/gtest.h>
Go to the source code of this file.
|
int | main (int argc, char **argv) |
|
| TEST (Pf, BayesianEstimation) |
|
| TEST (Pf, VariableParticleSize) |
|
| TEST (Pf, ResampleFlatLikelihood) |
|
| TEST (Pf, ResampleFirstAndLastParticle) |
|
| TEST (Pf, Iterators) |
|
| TEST (Pf, AppendParticles) |
|
void | testResample (const std::vector< float > &probs, const std::vector< float > &states, const std::vector< float > &expected_resampled_states) |
|
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
TEST |
( |
Pf |
, |
|
|
BayesianEstimation |
|
|
) |
| |
TEST |
( |
Pf |
, |
|
|
VariableParticleSize |
|
|
) |
| |
TEST |
( |
Pf |
, |
|
|
ResampleFlatLikelihood |
|
|
) |
| |
TEST |
( |
Pf |
, |
|
|
ResampleFirstAndLastParticle |
|
|
) |
| |
TEST |
( |
Pf |
, |
|
|
AppendParticles |
|
|
) |
| |
void testResample |
( |
const std::vector< float > & |
probs, |
|
|
const std::vector< float > & |
states, |
|
|
const std::vector< float > & |
expected_resampled_states |
|
) |
| |