摘要: (Ketama Algorithm) Below code referenced the post http://www.cnblogs.com/daizhj/archive/2010/08/24/1807324.html 问题有集合A {a1,a2,...} ,集合B {b1,b2,...}.将A的元素映射到B,如 a1->b1 ,a2->b1,a3->b1 ; a4->b2;a5->b2;a6... 阅读全文
posted @ 2011-06-30 15:36 netfuns 阅读(327) 评论(0) 推荐(0)