I have a group of numbers from which I can choose a random number. I want to assign a weight to some numbers so that the weighted numbers are choosen more frequently than not weighted numbers.
Does anybody knows an alghorithm to do so?
Thanks.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 1 of 1
Thread: Random number
|
Click Here to Expand Forum to Full Width |