Is it possible to change a single value in std :: discrete_distribution? I cannot find an easy way to do this. I thought of initializing it with std :: vector with assigned probabilities and changing it every time I want, but reinitializing the discrete distribution every time seems like a bad idea.
source share