incubator-olio-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hao zhang <julius.haozh...@gmail.com>
Subject Does doTagSearch operation a negative exponential distribution to use more commonly used tags.
Date Mon, 28 Jun 2010 06:59:57 GMT
Hi, All
The olio document says doTagSearch operation chooses a tag name using
a negative exponential distribution to use more commonly used tags. I
guess the most related code should be
public static String randomEvent(Random r, StringBuilder
eventListPage). However, in the code it uses random.(0, size) to pick
up the event.
Could anyone confirm that the tagsearch is using a negative
exponential distribution? Thanks.

Hao

Mime
View raw message