Bayes Filters Library
Public Member Functions | Public Attributes | Protected Attributes | List of all members
bfl::ParticleSet Class Reference

#include <ParticleSet.h>

Inheritance diagram for bfl::ParticleSet:
[legend]

Public Member Functions

 ParticleSet () noexcept
 
 ParticleSet (const std::size_t components, const std::size_t dim) noexcept
 
 ParticleSet (const std::size_t components, const std::size_t dim_linear, const std::size_t dim_circular, const bool use_quaternion=false) noexcept
 
virtual ~ParticleSet () noexcept=default
 
void resize (const std::size_t components, const std::size_t dim_linear, const std::size_t dim_circular=0) override
 
ParticleSetoperator+= (const ParticleSet &rhs)
 
Eigen::Ref< Eigen::MatrixXd > state ()
 
Eigen::Ref< Eigen::MatrixXd > state (const std::size_t i)
 
double & state (const std::size_t i, const std::size_t j)
 
const Eigen::Ref< const Eigen::MatrixXd > state () const
 
const Eigen::Ref< const Eigen::MatrixXd > state (const std::size_t i) const
 
const double & state (const std::size_t i, const std::size_t j) const
 
Eigen::Ref< Eigen::MatrixXd > mean ()
 
Eigen::Ref< Eigen::VectorXd > mean (const std::size_t i)
 
double & mean (const std::size_t i, const std::size_t j)
 
const Eigen::Ref< const Eigen::MatrixXd > mean () const
 
const Eigen::Ref< const Eigen::VectorXd > mean (const std::size_t i) const
 
const double & mean (const std::size_t i, const std::size_t j) const
 
Eigen::Ref< Eigen::MatrixXd > covariance ()
 
Eigen::Ref< Eigen::MatrixXd > covariance (const std::size_t i)
 
double & covariance (const std::size_t i, const std::size_t j, const std::size_t k)
 
const Eigen::Ref< const Eigen::MatrixXd > covariance () const
 
const Eigen::Ref< const Eigen::MatrixXd > covariance (const std::size_t i) const
 
const double & covariance (const std::size_t i, const std::size_t j, const std::size_t k) const
 
Eigen::Ref< Eigen::VectorXd > weight ()
 
double & weight (const std::size_t i)
 
const Eigen::Ref< const Eigen::VectorXd > weight () const
 
const double & weight (const std::size_t i) const
 
bool augmentWithNoise (const Eigen::Ref< const Eigen::MatrixXd > &noise_covariance_matrix)
 

Public Attributes

std::size_t components
 
bool use_quaternion
 
std::size_t dim_circular_component
 
std::size_t dim
 
std::size_t dim_linear
 
std::size_t dim_circular
 
std::size_t dim_noise
 
std::size_t dim_covariance
 

Protected Attributes

Eigen::MatrixXd state_
 
Eigen::MatrixXd mean_
 
Eigen::MatrixXd covariance_
 
Eigen::VectorXd weight_
 

Detailed Description

Definition at line 20 of file ParticleSet.h.

Constructor & Destructor Documentation

◆ ParticleSet() [1/3]

ParticleSet::ParticleSet ( )
noexcept

Definition at line 13 of file ParticleSet.cpp.

◆ ParticleSet() [2/3]

ParticleSet::ParticleSet ( const std::size_t  components,
const std::size_t  dim 
)
noexcept

Definition at line 18 of file ParticleSet.cpp.

◆ ParticleSet() [3/3]

ParticleSet::ParticleSet ( const std::size_t  components,
const std::size_t  dim_linear,
const std::size_t  dim_circular,
const bool  use_quaternion = false 
)
noexcept

Definition at line 24 of file ParticleSet.cpp.

◆ ~ParticleSet()

virtual bfl::ParticleSet::~ParticleSet ( )
virtualdefaultnoexcept

Member Function Documentation

◆ augmentWithNoise()

bool GaussianMixture::augmentWithNoise ( const Eigen::Ref< const Eigen::MatrixXd > &  noise_covariance_matrix)
inherited

◆ covariance() [1/6]

const Ref< const MatrixXd > GaussianMixture::covariance ( )
inherited

◆ covariance() [2/6]

const Eigen::Ref<const Eigen::MatrixXd> bfl::GaussianMixture::covariance ( ) const
inherited

◆ covariance() [3/6]

Ref< MatrixXd > GaussianMixture::covariance ( const std::size_t  i)
inherited

Definition at line 136 of file GaussianMixture.cpp.

◆ covariance() [4/6]

const Ref< const MatrixXd > GaussianMixture::covariance ( const std::size_t  i) const
inherited

Definition at line 154 of file GaussianMixture.cpp.

◆ covariance() [5/6]

double & GaussianMixture::covariance ( const std::size_t  i,
const std::size_t  j,
const std::size_t  k 
)
inherited

Definition at line 142 of file GaussianMixture.cpp.

◆ covariance() [6/6]

const double & GaussianMixture::covariance ( const std::size_t  i,
const std::size_t  j,
const std::size_t  k 
) const
inherited

Definition at line 160 of file GaussianMixture.cpp.

◆ mean() [1/6]

const Ref< const MatrixXd > GaussianMixture::mean ( )
inherited

◆ mean() [2/6]

const Eigen::Ref<const Eigen::MatrixXd> bfl::GaussianMixture::mean ( ) const
inherited

◆ mean() [3/6]

Ref< VectorXd > GaussianMixture::mean ( const std::size_t  i)
inherited

Definition at line 100 of file GaussianMixture.cpp.

◆ mean() [4/6]

const Ref< const VectorXd > GaussianMixture::mean ( const std::size_t  i) const
inherited

Definition at line 118 of file GaussianMixture.cpp.

◆ mean() [5/6]

double & GaussianMixture::mean ( const std::size_t  i,
const std::size_t  j 
)
inherited

Definition at line 106 of file GaussianMixture.cpp.

◆ mean() [6/6]

const double & GaussianMixture::mean ( const std::size_t  i,
const std::size_t  j 
) const
inherited

Definition at line 124 of file GaussianMixture.cpp.

◆ operator+=()

ParticleSet & ParticleSet::operator+= ( const ParticleSet rhs)

◆ resize()

void ParticleSet::resize ( const std::size_t  components,
const std::size_t  dim_linear,
const std::size_t  dim_circular = 0 
)
overridevirtual

Reimplemented from bfl::GaussianMixture.

Definition at line 35 of file ParticleSet.cpp.

References bfl::GaussianMixture::resize().

Here is the call graph for this function:

◆ state() [1/6]

const Ref< const MatrixXd > ParticleSet::state ( )

◆ state() [2/6]

const Eigen::Ref<const Eigen::MatrixXd> bfl::ParticleSet::state ( ) const

◆ state() [3/6]

Ref< MatrixXd > ParticleSet::state ( const std::size_t  i)

Definition at line 90 of file ParticleSet.cpp.

◆ state() [4/6]

const Ref< const MatrixXd > ParticleSet::state ( const std::size_t  i) const

Definition at line 108 of file ParticleSet.cpp.

◆ state() [5/6]

double & ParticleSet::state ( const std::size_t  i,
const std::size_t  j 
)

Definition at line 96 of file ParticleSet.cpp.

◆ state() [6/6]

const double & ParticleSet::state ( const std::size_t  i,
const std::size_t  j 
) const

Definition at line 114 of file ParticleSet.cpp.

◆ weight() [1/4]

const Ref< const VectorXd > GaussianMixture::weight ( )
inherited

◆ weight() [2/4]

const Eigen::Ref<const Eigen::VectorXd> bfl::GaussianMixture::weight ( ) const
inherited

◆ weight() [3/4]

double & GaussianMixture::weight ( const std::size_t  i)
inherited

Definition at line 172 of file GaussianMixture.cpp.

◆ weight() [4/4]

const double & GaussianMixture::weight ( const std::size_t  i) const
inherited

Definition at line 184 of file GaussianMixture.cpp.

Member Data Documentation

◆ components

std::size_t bfl::GaussianMixture::components
inherited

◆ covariance_

Eigen::MatrixXd bfl::GaussianMixture::covariance_
protectedinherited

Definition at line 86 of file GaussianMixture.h.

Referenced by operator+=().

◆ dim

std::size_t bfl::GaussianMixture::dim
inherited

◆ dim_circular

std::size_t bfl::GaussianMixture::dim_circular
inherited

◆ dim_circular_component

std::size_t bfl::GaussianMixture::dim_circular_component
inherited

Definition at line 71 of file GaussianMixture.h.

◆ dim_covariance

std::size_t bfl::GaussianMixture::dim_covariance
inherited

◆ dim_linear

std::size_t bfl::GaussianMixture::dim_linear
inherited

◆ dim_noise

std::size_t bfl::GaussianMixture::dim_noise
inherited

◆ mean_

Eigen::MatrixXd bfl::GaussianMixture::mean_
protectedinherited

Definition at line 84 of file GaussianMixture.h.

Referenced by operator+=().

◆ state_

Eigen::MatrixXd bfl::ParticleSet::state_
protected

Definition at line 49 of file ParticleSet.h.

Referenced by operator+=().

◆ use_quaternion

bool bfl::GaussianMixture::use_quaternion
inherited

◆ weight_

Eigen::VectorXd bfl::GaussianMixture::weight_
protectedinherited

Definition at line 88 of file GaussianMixture.h.

Referenced by operator+=().


The documentation for this class was generated from the following files: