Giving options more or less weight
I am working on a program that will decide which meals will be prepared & served for the week. At first I thought it would be really easy - have a list of things I like to eat, and let the computer randomly pick a certain number of them - Voila! Instant menu plan. But then I was reminded that some meals are OK, but not every week - perhaps every third week or so. So then, it seems to me that my program has to give more weight to some options rather than others. My problem is that I have no idea of how to implement this, and worse yet, I don't even know the terminology to do a decent search for what I am after. it seems to me that the answer might lie with those who are well versed in game programming, hence why I am posting here. If anyone would care to set me on the right track, I would appreciate it.