discrete_distribution::param_type
Archivia tutti i parametri della distribuzione.
struct param_type { typedef discrete_distribution<IntType> distribution_type; param_type(); template<class UnaryOperation> param_type(size_t count, double low, double high, UnaryOperation weightfunc); std::vector<double> probabilities() const; .... bool operator==(const param_type& right) const; bool operator!=(const param_type& right) const; };
Parametri
Vedere l'argomento padre Classe discrete_distribution.
Note
Questo pacchetto di parametri può essere passato a operator() per generare il valore restituito.
Requisiti
Intestazione: <random>
Spazio dei nomi: std