Topic: 关于Random类的构造函数[求助] |
Print this page |
1.关于Random类的构造函数[求助] | Copy to clipboard |
Posted by: scwfeng Posted on: 2006-04-06 07:22 请问seed到底有什么用?它和产生的随机数有什么联系?使用随机数时是否必须设置seed的值? |
2.Re:关于Random类的构造函数[求助] [Re: scwfeng] | Copy to clipboard |
Posted by: why Posted on: 2006-04-06 08:40 If you don't change the seed, the sequence of numbers generated would usually be exactly the same. |
3.Re:关于Random类的构造函数[求助] [Re: scwfeng] | Copy to clipboard |
Posted by: steven_652 Posted on: 2006-04-13 12:34 seed仅仅为了取得固定的随机数,经常在测试时用seed,便于预测测试结果。到了发布时再去掉的。 |
4.Re:关于Random类的构造函数[求助] [Re: scwfeng] | Copy to clipboard |
Posted by: scwfeng Posted on: 2006-04-13 18:27 谢谢指点 |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |