Hi all,
I am about to design a class for a project that I am doing, however I cannot work out how to approach the design.
Basically I have a series of events that can occur, which I will probably store in an a vector as "descriptive" strings. But I want to be able to assign a probability (probably a percentage) of the events occurance.
For instance, you may have an array of weather descriptions, and during summer there is only a 5% chance of it raining on any given day.
Can anyone point me in the right direction?