BFL::Probability Class Reference

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

`#include <bfl_constants.h>`

## Public Member Functions | |

double | getValue () const |

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) |

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

Definition at line 39 of file bfl_constants.h.

BFL::Probability::Probability | ( | ) | ` [inline]` |

Definition at line 42 of file bfl_constants.h.

BFL::Probability::Probability | ( | double | p | ) | ` [inline]` |

Definition at line 43 of file bfl_constants.h.

virtual BFL::Probability::~Probability | ( | ) | ` [inline, virtual]` |

Definition at line 51 of file bfl_constants.h.

double BFL::Probability::getValue | ( | ) | const` [inline]` |

Definition at line 71 of file bfl_constants.h.

BFL::Probability::operator double | ( | ) | ` [inline]` |

Definition at line 73 of file bfl_constants.h.

Probability BFL::Probability::operator* | ( | Probability | p | ) | ` [inline]` |

Definition at line 74 of file bfl_constants.h.

Probability BFL::Probability::operator/ | ( | Probability | p | ) | ` [inline]` |

Definition at line 76 of file bfl_constants.h.

ostream& operator<< | ( | ostream & | stream, |

Probability & | prob |
||

) | ` [friend]` |

Definition at line 62 of file bfl_toolkit.cpp.

istream& operator>> | ( | istream & | stream, |

Probability & | prob |
||

) | ` [friend]` |

Definition at line 68 of file bfl_toolkit.cpp.

double BFL::Probability::_prob` [private]` |

Definition at line 77 of file bfl_constants.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 Thu Feb 11 2016 22:31:58

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 Thu Feb 11 2016 22:31:58