算法来确定线程"辣味" [英] Algorithm to determine thread "hotness"
本文介绍了算法来确定线程"辣味"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图想出一个方法来确定热的某些线程,如何在一个论坛。你会使用和为什么什么样的标准?如何将这些走到一起,给暑热分数?
I'm trying to come up with a way to determine how "hot" certain threads are in a forum. What criteria would you use and why? How would these come together to give a hotness score?
我在考虑的标准包括:
- 在多少篇
- 多久,因为最后回复
- 答复的平均时间
中存在的问题,该算法必须解决的:
The problems this algorithm must solve:
- 在其中有500篇回复线程显然是热的,除非最后的答复是在一年前。
- 在与被回答了第二个前500篇线程显然是热的,除非它采取4年达到500篇。
- 在最后4分15答复线程是真热!
任何想法,想法和完整的解决方案了吗?
Any ideas, thoughts or complete solutions out there?
推荐答案
这可能是你在找什么:
<一个href="http://stackoverflow.com/questions/32397/popularity-algorithm">http://stackoverflow.com/questions/32397/popularity-algorithm
这篇关于算法来确定线程&QUOT;辣味&QUOT;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文