m********0 发帖数: 2717 | 1 infinite pool, random selection. how to?
如果是finite pool, 我知道可以用knuth algorithm. | s*******s 发帖数: 1568 | 2 just like a a article you want to choose a character, you don't know the
length. There is standard algorithm to
deal with this.
【在 m********0 的大作中提到】 : infinite pool, random selection. how to? : 如果是finite pool, 我知道可以用knuth algorithm.
| k*k 发帖数: 49 | | s*x 发帖数: 3328 | 4 infinite pool 应该不可能有算法可以 random selection
【在 m********0 的大作中提到】 : infinite pool, random selection. how to? : 如果是finite pool, 我知道可以用knuth algorithm.
| g*******y 发帖数: 1930 | 5 define "random selection"?
【在 m********0 的大作中提到】 : infinite pool, random selection. how to? : 如果是finite pool, 我知道可以用knuth algorithm.
|
|