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