搜索资源列表
yaojiangji
- yaojiangji.rar随机产生六个随机数-yaojiangji.rar six randomly generated random numbers
sgayiyuanyouhua
- 改进遗传算法-郭涛算法做最优化问题很管用,算法的基本思想是 先任意产生n个随机数,然后从n个数里随机选择m个数,再有这m个 数合成一个新数,将这个新数同n个数中间适应值函数值的最差的比较, 如果好的话就取代最差的那个,如果它比最好的还要好的话,则把最好的 也取代。如果比最差的坏,则重新合成一个新数。依次循环下去。 -improved genetic algorithm - Guo Tao algorithm optimization is the most
从小到大输出随机数
- 随机产生20个100以内的数,输出;按从小到大的顺序排序,输出-randomly generated 20 within a few hundred output; From small to large by the order of ranking, the output
general-random-number-in-C-Sharp
- 在C#中,产生一般随机数用Random即可,但是,若要产生服从特定分布的随机数,就需要一定的算法来支持了,产生服从正态分布、泊松分布、指数分布以及负指数分布随机数的方法-A general random number in C#, you can use Random, but to have to obey a particular distribution of random numbers, you need a certain algorithm to support, resultin
c_math
- c编写一个随机产生两个随机数,并进行随机的加减运算-c write a randomly generated two random numbers, and conduct random addition and subtraction operations
8
- 本程序是用随机数的产生设计的一个四则运算测试器,用到的随机算法,在语句上基本上是简单的开关语句和一些其特殊作用的-This program is designed to generate random numbers a four computing devices on a random algorithm used in the statement is basically a simple switch statement and some of its special role of
ga
- 本压缩包内收集了一些C#常用的7种遗传算法,这些算法主要是保存超个体的基本遗传算法、仿生双倍体遗传算法、人工双倍体遗传算法、保存历史最优解的遗传算法、保存历史最优解的仿生双倍体遗传算法等,另外,对随机数的产生机制进行了优化,在内层循环中也能产生高质量的随机数。部分功能可通过源码爱好者测试截图中看出,这里不再详述。-The compression bag to collect some C# commonly used seven kinds of genetic algorithms is pr
weisuij
- 利用c产生伪随机数的算法,上课老师要求做的,大家 参考下-C generate pseudo-random number using the algorithm, school teacher asked to do, we refer to the following
caipiaotouzhuchengxu
- 利用随机数技术,在试用者输入数字之后,模拟产生彩票中奖号码。-Use random number technology, enter the number in the trial users, the simulation generated lottery number.
33
- c++绘制随机数统计图 通过编程产生大量-50~50之间的随机自然数,每次产生一个就在相应的统计图位置处增加一个符号-c++ to draw random numbers generated by programming a large number of charts-50 ~ 50 random natural number between, each produce a statistical chart in the appropriate location to add a symbo
typical-C-program
- 典型的C程序,包含随机数的产生,积分公式,进制转换,代码转换等。-typical c program
bobing
- 是一个博饼的程序!产生随机数,并且判定结果-Bo cake is a program! Generate random numbers, and determine the results! !
10.6
- 将自定义的整数随机数生成器编写为一个类,该类使用一个公式从上一个随机数的到下一个伪随机数。随机数程序以某个“启动源(seed)”值开始。其后,通过对当前随机数执行某个运算得到下一个随机数,运算使当前随机数变成另一个(明显随机的)数。适用于整数的公式为:nextR=((oldR*25173)+13849) 65536; 它产生0~65536之间的数。为了得到看起来随机的好结果,该公式中几个特定的数已经给出。-The custom integer random number generators
GenerateRand
- vc6.0,产生随机数,测试通过,可移植性强-Generating random numbers
rand
- 可以自己设定循环次数,每一次循环产生随机数,并将随机数输入机器人的运动学程序中,检查程序是否有问题,并输出正确与否-set the route number, and the code will create a rand number to check weather to program is right or not
random-number
- visual c中随机数产生的程序,可以产生选择范围内的随机数。-visual c in the random number generation program, can generate the random number selection range.
ChineseCode
- 中文验证码源码,C#完美实例,自带判断模块,下面简要说一下本中文验证码的实现思路:获取GB2312编码页(表),调用函数产生4个随机中文汉字编码,根据汉字编码的字节数组解码出中文汉字,生成随机生成器,清空图片背景色,画图片的背景噪音线,画图片的前景噪音点,画图片的边框线。 CreateCode函数在汉字编码范围内随机创建含两个元素的十六进制字节数组,每个字节数组代表一个汉字,并将 四个字节数组存储在object数组中,参数:strlength,代表需要产生的汉字个数。每循环一次产生一个
timer
- 随机数产生 每三秒钟产生一个随机数 100以内的 实现公告栏设计-Random number generator to produce bulletin board design to achieve a random number less than 100 every three seconds
a
- 再用k x 测试均匀性(取不同量级的N 值,讨论偏差与N 的关系)、C(l) 测试其2维独立性(总点数N > 107)。与前面的randomz子程序进行比较(采用 同样的常数以及单精度或双精度实数运算),总结和评价2个随机数产生器的随机 性质量。-random number
exp_random_number
- 这是一个比较全面的根据指数分布的随机数产生器-random number follows exponential distribution