文件名称:10.6
- 所属分类:
- C#编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 62kb
- 下载次数:
- 0次
- 提 供 者:
- 慕***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
将自定义的整数随机数生成器编写为一个类,该类使用一个公式从上一个随机数的到下一个伪随机数。随机数程序以某个“启动源(seed)”值开始。其后,通过对当前随机数执行某个运算得到下一个随机数,运算使当前随机数变成另一个(明显随机的)数。适用于整数的公式为:nextR=((oldR*25173)+13849) 65536;
它产生0~65536之间的数。为了得到看起来随机的好结果,该公式中几个特定的数已经给出。-The custom integer random number generators are written as a class, the class using a formula from the previous random number to the next pseudorandom number. Random number procedure to a "start source (seed)" value. Subsequently, by performing an operation on current number of random is the next random number, computing the current random number into another (clearly random) number. Applied to integers is: nextR= ((oldR*25173) +13849) 65536 It creates between the 0~65536 number. In order to get good results of seemingly random, some specific number has been given in the formula.
它产生0~65536之间的数。为了得到看起来随机的好结果,该公式中几个特定的数已经给出。-The custom integer random number generators are written as a class, the class using a formula from the previous random number to the next pseudorandom number. Random number procedure to a "start source (seed)" value. Subsequently, by performing an operation on current number of random is the next random number, computing the current random number into another (clearly random) number. Applied to integers is: nextR= ((oldR*25173) +13849) 65536 It creates between the 0~65536 number. In order to get good results of seemingly random, some specific number has been given in the formula.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
10.6\10.6.sln
....\10.6.suo
....\....\10.6.csproj
....\....\Form1.cs
....\....\Form1.Designer.cs
....\....\Form1.resx
....\....\Program.cs
....\....\Randomgenerator.cs
....\....\Properties\AssemblyInfo.cs
....\....\..........\Resources.Designer.cs
....\....\..........\Resources.resx
....\....\..........\Settings.Designer.cs
....\....\..........\Settings.settings
....\....\obj\Debug\10.6.csproj.FileListAbsolute.txt
....\....\...\.....\10.6.csproj.GenerateResource.Cache
....\....\...\.....\10.6.exe
....\....\...\.....\10.6.pdb
....\....\...\.....\_10._6.Form1.resources
....\....\...\.....\_10._6.Properties.Resources.resources
....\....\bin\Debug\10.6.exe
....\....\...\.....\10.6.pdb
....\....\...\.....\10.6.vshost.exe
....\....\...\.....\10.6.vshost.exe.manifest
....\10.doc
....\...6\obj\Debug\TempPE
....\....\...\.....\Refactor
....\....\...\Debug
....\....\bin\Debug
....\....\Properties
....\....\obj
....\....\bin
....\10.6
10.6
....\10.6.suo
....\....\10.6.csproj
....\....\Form1.cs
....\....\Form1.Designer.cs
....\....\Form1.resx
....\....\Program.cs
....\....\Randomgenerator.cs
....\....\Properties\AssemblyInfo.cs
....\....\..........\Resources.Designer.cs
....\....\..........\Resources.resx
....\....\..........\Settings.Designer.cs
....\....\..........\Settings.settings
....\....\obj\Debug\10.6.csproj.FileListAbsolute.txt
....\....\...\.....\10.6.csproj.GenerateResource.Cache
....\....\...\.....\10.6.exe
....\....\...\.....\10.6.pdb
....\....\...\.....\_10._6.Form1.resources
....\....\...\.....\_10._6.Properties.Resources.resources
....\....\bin\Debug\10.6.exe
....\....\...\.....\10.6.pdb
....\....\...\.....\10.6.vshost.exe
....\....\...\.....\10.6.vshost.exe.manifest
....\10.doc
....\...6\obj\Debug\TempPE
....\....\...\.....\Refactor
....\....\...\Debug
....\....\bin\Debug
....\....\Properties
....\....\obj
....\....\bin
....\10.6
10.6