Hello,
I'm attempting to design an algorithm that does the following.
Input:
I've a set of keys (total n) that are mapped to set of properties. The properties contain the weight for each property and the value for the property.
Output:
Identify a set of keys that are qualified (total k) based on the set of properties and their respective weights and values.
Additionally, the data should be modified as such in every cycle of choosing winners such that the chances of someone who was not chosen goes up in the next cycle (whereas the chances of someone who has won would be as if they are completely new in the system).
Hopefully the issue at hand is clear. Basically, the value of the property and the respective weight would determine which keys are more likely to win (a higher value with a higher weight would increase the probability of that key winning) and we will eventually end up choosing everyone.
Any input on how this can be done would be greatly appreciated.
Thanks! - Azeem