Public Member Functions | Private Attributes | Friends | List of all members
BFL::BFL::Probability Class Reference

Class representing a probability (a double between 0 and 1) More...

#include <mixtureParticleFilter.h>

Public Member Functions

double getValue () const
 
double & getValue ()
 
 operator double ()
 
Probability operator* (Probability p)
 
Probability operator/ (Probability p)
 
 Probability ()
 
 Probability (double p)
 
virtual ~Probability ()
 

Private Attributes

double _prob
 

Friends

ostream & operator<< (ostream &stream, Probability &prob)
 
istream & operator>> (istream &stream, Probability &prob)
 

Detailed Description

Class representing a probability (a double between 0 and 1)

Definition at line 40 of file mixtureParticleFilter.h.

Constructor & Destructor Documentation

◆ Probability() [1/2]

BFL::BFL::Probability::Probability ( )
inline

Definition at line 43 of file mixtureParticleFilter.h.

◆ Probability() [2/2]

BFL::BFL::Probability::Probability ( double  p)
inline

Definition at line 44 of file mixtureParticleFilter.h.

◆ ~Probability()

virtual BFL::BFL::Probability::~Probability ( )
inlinevirtual

Definition at line 52 of file mixtureParticleFilter.h.

Member Function Documentation

◆ getValue() [1/2]

double BFL::BFL::Probability::getValue ( ) const
inline

Definition at line 72 of file mixtureParticleFilter.h.

◆ getValue() [2/2]

double& BFL::BFL::Probability::getValue ( )
inline

Definition at line 73 of file mixtureParticleFilter.h.

◆ operator double()

BFL::BFL::Probability::operator double ( )
inline

Definition at line 75 of file mixtureParticleFilter.h.

◆ operator*()

Probability BFL::BFL::Probability::operator* ( Probability  p)
inline

Definition at line 76 of file mixtureParticleFilter.h.

◆ operator/()

Probability BFL::BFL::Probability::operator/ ( Probability  p)
inline

Definition at line 78 of file mixtureParticleFilter.h.

Friends And Related Function Documentation

◆ operator<<

ostream& operator<< ( ostream &  stream,
Probability prob 
)
friend

◆ operator>>

istream& operator>> ( istream &  stream,
Probability prob 
)
friend

Member Data Documentation

◆ _prob

double BFL::BFL::Probability::_prob
private

Definition at line 79 of file mixtureParticleFilter.h.


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


bfl
Author(s): Klaas Gadeyne, Wim Meeussen, Tinne Delaet and many others. See web page for a full contributor list. ROS package maintained by Wim Meeussen.
autogenerated on Mon Feb 28 2022 21:56:34