搜索资源列表
模拟退火源码
- 模拟退火算法 模拟退火算法(Simulated Annealing,简称SA算法)是模拟加热熔化的金属的退火过程,来寻找全局最优解的有效方法之一。 模拟退火的基本思想和步骤如下: 设S={s1,s2,…,sn}为所有可能的状态所构成的集合, f:S—R为非负代价函数,即优化问题抽象如下: 寻找s*∈S,使得f(s*)=min f(si) 任意si∈S (1)给定一较高初始温度T,随机产生初始状态S (2)按一定方式,对当前状态作随机扰动,产生一个新的状态S’ S’=S+sign(η).δ 其中δ
(1)
- 1、 用随机数生成的方式(要求用户输入随机数)产生一个迷宫:“1”表示墙,“0”表示路,最后的路径用“8”表示,若没有路径则打印报文,若有路径则打印出路径。 2、 通过堆栈及判断实现迷宫的自动寻找路径功能 -1, the random number generator of (requiring user input random number) produces a maze : "a" Wall said, "0" Lu said, the f
EasyRandom_demo
- 本压缩文件提供了VC平台中在固定的时间内生成随机数的程序。-the compressed files provided VC platform in a fixed time generating random process.
改进遗传算法-郭涛算法做最优化问题很管用
- 改进遗传算法-郭涛算法做最优化问题很管用,算法的基本思想是 先任意产生n个随机数,然后从n个数里随机选择m个数,再有这m个 数合成一个新数,将这个新数同n个数中间适应值函数值的最差的比较, 如果好的话就取代最差的那个,如果它比最好的还要好的话,则把最好的 也取代。如果比最差的坏,则重新合成一个新数。依次循环下去。 程序的奇妙之处是GA_crossover()函数,产生的新数确实比较好,看看 那位大侠能改进一下,产生比这跟好的数。-improved genetic algo
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.
para
- 抛物线法求解 方程的构造方法:给出[0,1]区间上的随机数(服从均匀分布)作为方程的根p*. 设你的班级数为a3,学号的后两位数分别为a2与a1,从而得到你的三次方程 例如:你的31班的12号,则你的方程是21x3+60x2+2x+a0=0的形式. 方程中的系数a0由你得到的根p*来确定. -parabolic equation method Construction Methods : given interval [0,1] on the random numbe
advancenewton
- 改进的牛顿法求解: 方程的构造方法:给出[0,1]区间上的随机数(服从均匀分布)作为方程的根p*. 设你的班级数为a3,学号的后两位数分别为a2与a1,从而得到你的三次方程 例如:你的31班的12号,则你的方程是21x3+60x2+2x+a0=0的形式. 方程中的系数a0由你得到的根p*来确定. -improve Newton's method : Construction of the equation : given interval [0,1] o
hypot
- 抛物线法求解 方程的构造方法:给出[0,1]区间上的随机数(服从均匀分布)作为方程的根p*. 设你的班级数为a3,学号的后两位数分别为a2与a1,从而得到你的三次方程 例如:你的31班的12号,则你的方程是21x3+60x2+2x+a0=0的形式. 方程中的系数a0由你得到的根p*来确定. -parabolic equation method Construction Methods : given interval [0,1] on the random numbe
几种排序方法的实现
- 用 插入排序, 希尔排序 ,冒泡, 快速排序 , 选择排序 ,堆排序, 归并排序 实现对任意随机数序列,并比较各种方法的运行快慢和复杂度-with insertion sort, Hill sequencing, bubbling Quick Sort, select, in order of ranking sculpture, merging order to achieve arbitrary random series, and compare the various methods o
suijishu12311
- 演示了随机数的产生和使用。用vb来实现。用流星雨的方式来模拟随机数生成-demonstration, the random number generation and use. Vb used to be achieved. With the meteor shower to simulate the random number generator
DS_kuopin_simulation
- 通过Monte Carlo仿真,说明DS扩频信号在抑制正弦干扰方面的有效性。用一均匀随机数发生器产生某个二进制信息符号的序列,每个信息比特重复Lc次。 包含文件:DS_restrain_interference.M SS.M-through Monte Carlo simulation, note DS spread spectrum signal sinusoidal interference in inhibiting the effectiveness. Using a unif
POSSRAND
- 生成均匀分布随机数和泊松分布随机数的程序-generate uniformly distributed random number and random Poisson distribution of the process
C-SAA
- 因课程需要,编写了C语言的模拟退火算法,其中随机数的产生方法至关重要。-curriculum needs, the preparation of the C language simulated annealing algorithm, the number of random selection is crucial.
MCS-libre
- 随机数 基于c++的Monte Carlo源代码-c random number based on the Monte Carlo code
Rnd
- DELPHI 产生N个不同的随机数。 希望大家能用得上-DELPHI produce N different random number. Hope you will need them
key_sort_system
- 多关键字的排序是有一定的实用范围。例如:在进行高考分数处理时,除了对总分进行排序外,不同的专业对单科分数的要求不同,因此尚需在总分相同的情况下,按用户提出的单科分数的次序要求排出考生录取的次序。(1)假如代排序的记录数不超10000,表中记录的关键字数不超过5,各个关键字的范围均为0至100。按用户给定的排序的关键字的优先关系,输出排序的结果。(2)约定按LSD方法进行多关键字的排序。在对各个关键字进行排序时采用两种策略:其一是利用稳定的内部排序方法,其二是利用“分配”和“收集”的方法。并综合比
normal_distribution_and_validation
- VB编的蒙特卡罗模拟用的正态分布随机数的产生与验证-VB series of the Monte Carlo simulation of the normal random number generation and verification
classRand
- 这个一个随机数生成类,大学时写程序经常用到,如果不用类库中的,用我这个也可以的-this a random number generator category, the University was frequently used procedure, if not the library. I also used this can
sjs
- 随机序列产生程序(用乘同余法产生随机数)-random sequences generated (by using the same method I have a random number)