Class representing gaussian pos_vel. More...
#include <gaussian_pos_vel.h>
Public Member Functions | |
virtual GaussianPosVel * | Clone () const |
clone function | |
virtual MatrixWrapper::SymmetricMatrix | CovarianceGet () const |
virtual StatePosVel | ExpectedValueGet () const |
GaussianPosVel (const StatePosVel &mu, const StatePosVel &sigma) | |
Constructor. | |
virtual Probability | ProbabilityGet (const StatePosVel &input) const |
bool | SampleFrom (vector< Sample< StatePosVel > > &list_samples, const int num_samples, int method=DEFAULT, void *args=NULL) const |
virtual bool | SampleFrom (Sample< StatePosVel > &one_sample, int method=DEFAULT, void *args=NULL) const |
void | SetDt (double dt) const |
virtual | ~GaussianPosVel () |
Destructor. | |
Private Attributes | |
double | dt_ |
GaussianVector | gauss_pos_ |
GaussianVector | gauss_vel_ |
StatePosVel | mu_ |
StatePosVel | sigma_ |
Friends | |
std::ostream & | operator<< (std::ostream &os, const GaussianPosVel &g) |
output stream for GaussianPosVel |
Class representing gaussian pos_vel.
Definition at line 48 of file gaussian_pos_vel.h.
BFL::GaussianPosVel::GaussianPosVel | ( | const StatePosVel & | mu, |
const StatePosVel & | sigma | ||
) |
Constructor.
Definition at line 47 of file gaussian_pos_vel.cpp.
BFL::GaussianPosVel::~GaussianPosVel | ( | ) | [virtual] |
Destructor.
Definition at line 56 of file gaussian_pos_vel.cpp.
GaussianPosVel * BFL::GaussianPosVel::Clone | ( | ) | const [virtual] |
clone function
Implements BFL::BFL::Pdf< StatePosVel >.
Definition at line 58 of file gaussian_pos_vel.cpp.
SymmetricMatrix BFL::GaussianPosVel::CovarianceGet | ( | ) | const [virtual] |
Reimplemented from BFL::BFL::Pdf< StatePosVel >.
Definition at line 110 of file gaussian_pos_vel.cpp.
StatePosVel BFL::GaussianPosVel::ExpectedValueGet | ( | ) | const [virtual] |
Reimplemented from BFL::BFL::Pdf< StatePosVel >.
Definition at line 104 of file gaussian_pos_vel.cpp.
Probability BFL::GaussianPosVel::ProbabilityGet | ( | const StatePosVel & | input | ) | const [virtual] |
Reimplemented from BFL::BFL::Pdf< StatePosVel >.
Definition at line 72 of file gaussian_pos_vel.cpp.
bool BFL::GaussianPosVel::SampleFrom | ( | vector< Sample< StatePosVel > > & | list_samples, |
const int | num_samples, | ||
int | method = DEFAULT , |
||
void * | args = NULL |
||
) | const |
Definition at line 79 of file gaussian_pos_vel.cpp.
bool BFL::GaussianPosVel::SampleFrom | ( | Sample< StatePosVel > & | one_sample, |
int | method = DEFAULT , |
||
void * | args = NULL |
||
) | const [virtual] |
Definition at line 91 of file gaussian_pos_vel.cpp.
void BFL::GaussianPosVel::SetDt | ( | double | dt | ) | const [inline] |
Definition at line 69 of file gaussian_pos_vel.h.
std::ostream& operator<< | ( | std::ostream & | os, |
const GaussianPosVel & | g | ||
) | [friend] |
output stream for GaussianPosVel
Definition at line 63 of file gaussian_pos_vel.cpp.
double BFL::GaussianPosVel::dt_ [mutable, private] |
Definition at line 53 of file gaussian_pos_vel.h.
Definition at line 52 of file gaussian_pos_vel.h.
Definition at line 52 of file gaussian_pos_vel.h.
StatePosVel BFL::GaussianPosVel::mu_ [private] |
Definition at line 51 of file gaussian_pos_vel.h.
StatePosVel BFL::GaussianPosVel::sigma_ [private] |
Definition at line 51 of file gaussian_pos_vel.h.