#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) |
| |
◆ main()
| int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ TEST() [1/6]
| TEST |
( |
Pf |
, |
|
|
BayesianEstimation |
|
|
) |
| |
◆ TEST() [2/6]
| TEST |
( |
Pf |
, |
|
|
VariableParticleSize |
|
|
) |
| |
◆ TEST() [3/6]
| TEST |
( |
Pf |
, |
|
|
ResampleFlatLikelihood |
|
|
) |
| |
◆ TEST() [4/6]
| TEST |
( |
Pf |
, |
|
|
ResampleFirstAndLastParticle |
|
|
) |
| |
◆ TEST() [5/6]
◆ TEST() [6/6]
| TEST |
( |
Pf |
, |
|
|
AppendParticles |
|
|
) |
| |
◆ testResample()
| void testResample |
( |
const std::vector< float > & |
probs, |
|
|
const std::vector< float > & |
states, |
|
|
const std::vector< float > & |
expected_resampled_states |
|
) |
| |