|
vg
tools for working with variation graphs
|
We provide a partial discrete_distribution implementation that is just the parts we need. More...
#include <statistics.hpp>
Public Types | |
| typedef T | result_type |
| typedef double | param_type |
Public Member Functions | |
| template<class InputIt> | |
| discrete_distribution (InputIt first, InputIt last) | |
| discrete_distribution (initializer_list< double > weights={1}) | |
| void | reset () |
| template<class Generator> | |
| T | operator() (Generator &_g) |
Protected Attributes | |
| vector< double > | m_weights |
| vector< double > | m_sums |
We provide a partial discrete_distribution implementation that is just the parts we need.
| typedef double vg::discrete_distribution< T >::param_type |
| typedef T vg::discrete_distribution< T >::result_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
1.17.0