Class representing a probability (a double between 0 and 1) More...
#include <bfl_constants.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) |
Class representing a probability (a double between 0 and 1)
Definition at line 39 of file bfl_constants.h.
|
inline |
Definition at line 42 of file bfl_constants.h.
|
inline |
Definition at line 43 of file bfl_constants.h.
|
inlinevirtual |
Definition at line 51 of file bfl_constants.h.
|
inline |
Definition at line 71 of file bfl_constants.h.
|
inline |
Definition at line 72 of file bfl_constants.h.
|
inline |
Definition at line 74 of file bfl_constants.h.
|
inline |
Definition at line 75 of file bfl_constants.h.
|
inline |
Definition at line 77 of file bfl_constants.h.
|
friend |
Definition at line 62 of file bfl_toolkit.cpp.
|
friend |
Definition at line 68 of file bfl_toolkit.cpp.
|
private |
Definition at line 78 of file bfl_constants.h.