Hi,

About that probabilistic stuff I was talking about, it turned out to
be unnecessary for my app.

A very simple solution not involving probability:

* associate a ratio with each user taking into account the score and
the number of times that user has been selected

* when selecting a user, use this query:

SELECT * FROM User ORDER BY ratio DESC

In this way, users with higher scores will be selected more times.

Amir


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to