搜索资源列表
改进遗传算法-郭涛算法做最优化问题很管用
- 改进遗传算法-郭涛算法做最优化问题很管用,算法的基本思想是 先任意产生n个随机数,然后从n个数里随机选择m个数,再有这m个 数合成一个新数,将这个新数同n个数中间适应值函数值的最差的比较, 如果好的话就取代最差的那个,如果它比最好的还要好的话,则把最好的 也取代。如果比最差的坏,则重新合成一个新数。依次循环下去。 程序的奇妙之处是GA_crossover()函数,产生的新数确实比较好,看看 那位大侠能改进一下,产
paixu
- 各种排序算法,SHELL MERGE,还有随机数的生成 -various sequencing algorithms, SHELL Merg, Random Number Generation
RANDOMS
- 随机数生成源代码,提供C++类和注释与一个测试例子。-random number generator source code for C and Notes with a test case.
Visual Basic.NET精彩编程百例2
- vb.net基本编程技术研究,包括随机数等相关内容。-vb.net basic programming techniques, including random numbers and relevant information.
几种排序方法的实现
- 用 插入排序, 希尔排序 ,冒泡, 快速排序 , 选择排序 ,堆排序, 归并排序 实现对任意随机数序列,并比较各种方法的运行快慢和复杂度-with insertion sort, Hill sequencing, bubbling Quick Sort, select, in order of ranking sculpture, merging order to achieve arbitrary random series, and
2t1程序
- 二进一出的伪随机数生成程序,即将两个不随机的数据流作为输入,生成出一条随机特性较好的数据流-two into a pseudo-random number generator procedures, not the upcoming two random data stream as input, generating a better characteristics of the random data stream
公正摇奖机
- 电视台、大型活动中用来随机抽奖才程序,曾打算用做商业用途的一个软件。通过向导设计一个活动,输入参与抽奖者相关信息便可实现随机抽奖。涉及到数据库编程、网格的使用、随机数的运用、浮动工具栏、窗口分割、带文字的工具栏、向导对话框的使用-television, the major activities used to only random draw process, had planned to do with commercial use
蒙特卡洛
- 利用MATLAB可以产生各种形式的随机数,进行随机解决一些实际问题(系统的寿命、重积分、预测公司经营)-using MATLAB can produce various forms of random numbers, random solve some practical problems (system of life, re-integration, the company forecast operating)
C语言模拟飞机场
- 用了三个队列的数据结构,用随机数来模拟飞机请求,填写一个队列,另外一个队列就是飞机场停着的飞机,最后一个是空中的飞机队列-spent three queue data structure used to simulate random aircraft requested to fill in a queue, another is a queue of aircraft parked at the airport, the last
彩票号码
- 一个小的彩票号码产生程序,35选7的那种。 泳srand函数产生随机数-a small number of tickets have procedures, 35 of which 7 election. Beach srand functions to generate random numbers
与计算机玩24点游戏
- 本文用C语言编了24点游戏程序。与计算机玩24点还有个好处,解决了用扑克牌玩时的缺陷——有时候谁也无法确定四个数到底能不能算出24点。本程序的基本思路是:先由计算机产生四个随机数,然后将其中的两个数进行加减乘除四则运算,把计算结果分别再与第三个数进行四则运算,再把结果与第四个数进行四则运算,然后轮换四个数的顺序按以上步骤重复运算-Using C language compiled the 24 point game. Playing w
yuandaima
- 这是几个asm小程序。包括判断某一年是否为润年的程序;产生随机数并运算的程序;计算平台长度程序等-asm this is a small number of procedures. Including judge whether a particular year Runnian procedures; Random numbers generated by the operation and procedures; Platform
SimuLottery
- 1、43选7摇奖小游戏 2、采用动画方式 3、采用转盘43等分的方式 4、采用随机数产生要摇的彩号 5、自动保存摇奖历史,确保每次摇奖结果不一样。-48/88 7 election draws small two games, animation using three methods used turntable 43 equal portions of four, using random number genera
XuanHaoQi
- 福利彩票随机数产生器,界面不是很好看,但是是原创。-welfare lottery random number generator, the interface is not very good, but it is original.
POSSRAND
- 生成均匀分布随机数和泊松分布随机数的程序-generate uniformly distributed random number and random Poisson distribution of the process
05041062
- 1.产生(0-1)分布随机数的方法:z i =(16807zi-1 +1)mod(pow(2,32)).被主函数调用. 2.产生U(0-1)分布利用公式:x1=sqrt(-2lnU1)cos(2PiU2), x2=sqrt(-2lnU1)sin(2PiU2) 3.产生瑞利分布,用两个独立同分布的正态分布值,用公式 x= sqrt(Y1*Y1+Y2*Y2)产生瑞利随机数. 4泊松分布-1. 20 (0-1) random nu
randomgeneration
- 计算随机数的小程序 即是随机产生随机数-calculation of the small number of random procedure that is randomly generated random number
RandomNumberGenerators
- Random Number Generators(随机数生成)包括gaussian random number generator、uniform random number generator、low-frequency hold generator、1/f noise generator等5种随机信号生成的c源代码-Random Number Generators (Random Number Generation), includ
C-SAA
- 因课程需要,编写了C语言的模拟退火算法,其中随机数的产生方法至关重要。-curriculum needs, the preparation of the C language simulated annealing algorithm, the number of random selection is crucial.
c-random
- C语言中产生随机数的代码,编写成了子程序的形式,可以在需要使用的源程序中调用。真正实现时间函数,每次调用随机数均不相同,每次运行随机数也不相同。产生的随机数大于0,小于等于1-C language generated random number code, prepared become subroutine in the form of the need to use the source code call. To achieve