Classes | Functions
test_pf.cpp File Reference
#include <cmath>
#include <cstddef>
#include <vector>
#include <mcl_3dl/nd.h>
#include <mcl_3dl/pf.h>
#include <gtest/gtest.h>
Include dependency graph for test_pf.cpp:

Go to the source code of this file.

Classes

class  State
 

Functions

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)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 393 of file test_pf.cpp.

◆ TEST() [1/7]

TEST ( Pf  ,
AppendParticles   
)

Definition at line 309 of file test_pf.cpp.

◆ TEST() [2/7]

TEST ( Pf  ,
BayesianEstimation   
)

Definition at line 78 of file test_pf.cpp.

◆ TEST() [3/7]

TEST ( Pf  ,
Entropy   
)

Definition at line 330 of file test_pf.cpp.

◆ TEST() [4/7]

TEST ( Pf  ,
Iterators   
)

Definition at line 291 of file test_pf.cpp.

◆ TEST() [5/7]

TEST ( Pf  ,
ResampleFirstAndLastParticle   
)

Definition at line 230 of file test_pf.cpp.

◆ TEST() [6/7]

TEST ( Pf  ,
ResampleFlatLikelihood   
)

Definition at line 190 of file test_pf.cpp.

◆ TEST() [7/7]

TEST ( Pf  ,
VariableParticleSize   
)

Definition at line 150 of file test_pf.cpp.

◆ testResample()

void testResample ( const std::vector< float > &  probs,
const std::vector< float > &  states,
const std::vector< float > &  expected_resampled_states 
)

Definition at line 210 of file test_pf.cpp.



mcl_3dl
Author(s): Atsushi Watanabe
autogenerated on Thu Oct 17 2024 02:18:04