Binary distribution requires twp options and a probability.
Definition at line 363 of file random_number_generator.h.
#include <random_number_generator.h>
|
| | BinaryIntDist (double p_success, int choice_a, int choice_b) |
| |
| virtual double | p () |
| |
| virtual int | sample () |
| |
◆ BinaryIntDist()
| cyclus::BinaryIntDist::BinaryIntDist |
( |
double | p_success, |
|
|
int | choice_a, |
|
|
int | choice_b ) |
|
inline |
◆ p()
| virtual double cyclus::BinaryIntDist::p |
( |
| ) |
|
|
inlinevirtual |
◆ sample()
| virtual int cyclus::BinaryIntDist::sample |
( |
| ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following file: