-
Genetic Algorithm, is an evolutionary algorithm, the basic principle is to emulate the biosphere in
遗传算法是一种进化算法,其基本原理是模仿生物圈中“物竞天择、适者生存”的进化规律。该方法将遗传算法的参数编码为染色体,再利用迭代的方式,如选择、交叉和变异等算子来交换染色体种群的信息,得到优化目标在染色体上的行;
- 2023-08-30 21:25:03下载
- 积分:1
-
二重和一次积分程序
二重和一次积分程序-two and a re-integration process
- 2022-02-26 16:54:39下载
- 积分:1
-
设有n个人围做一圈,现从某个人开始报数,数到m的人出列,接着从出列的下一个人开始重新报数,数到m的人又出列,如此下去,直到所有人都出列为止。运用循环单链表解决约...
设有n个人围做一圈,现从某个人开始报数,数到m的人出列,接着从出列的下一个人开始重新报数,数到m的人又出列,如此下去,直到所有人都出列为止。运用循环单链表解决约瑟夫环问题。- Is equipped with n personally to encircle makes, presently
starts from some person to count off, leaves ranks the number to the m
person, meets from the next person which leaves ranks is starting reto
count off, leaves ranks the number to the m person, continue like
this, all leaves ranks until all people. Using circulates Shan
Lianbiao to solve the Joseph link problem.
- 2022-02-26 00:46:58下载
- 积分:1
-
Hidden Markov classic algorithms, as well as generic algorithms, linux environme...
隐MARKOV经典算法,也是通用算法,linux环境,可以移植到windows-Hidden Markov classic algorithms, as well as generic algorithms, linux environment, can be transferred to the windows
- 2023-01-16 17:00:04下载
- 积分:1
-
声线跟踪法
声线跟踪法,在 网上找到的,较好,使用MATLAB 编程。完成了声线的跟踪,达到了很好的可视化效果
- 2022-01-22 13:14:51下载
- 积分:1
-
一、前言
24点游戏是一个常见游戏,出题者给出4个整数,要求答题者在指定时间内给出一个四则运算的表达式,恰好用上这这个整数各一次,计算结果为24,超出时间为...
一、前言
24点游戏是一个常见游戏,出题者给出4个整数,要求答题者在指定时间内给出一个四则运算的表达式,恰好用上这这个整数各一次,计算结果为24,超出时间为输。
二、分析
用计算机来算这个题,搜索速度当然有很大优势,我编程喜欢考虑通用一点,不限制输入数量和结果数,甚至不限制运算符数量。这样组合数就很大,如果输入数比较多,则搜索时间会非常长。
我用两个方法来提高搜索速度:一、是大家都能考虑到的重复搜索问题,比如1,2,3和2,3,1所有的组合情况是相同的,我只搜索使用递增序的数组,则可以降低一个组合数的数量级别;二、使用动态规划中的备忘录方法,比如你计算出2和3所有可能的计算结果,则他们与4结合的时候,要用到,与1结合的时候,也要用到,使用备忘录,可以只计算一次,大大降低运算复杂度。
三、设计
整体设计:分别设计4个类:游戏、表达式、运算、分数,各司其责,结构清晰,易于扩展。
-First, the preamble
24-point game is a common game, give the title are four integer requiring answer within a specified period of time in a four calculations give the expression, just use that the integral of the time, results for the 24, beyond the time to lose.
Second, analysis
Use computers to count the title, the search speed of course, there is a great advantage, I enjoy taking generic programming that does not restrict the importation of the volume and the number of results, and even limiting the number of operators. So on a large number of combinations, if you
- 2022-04-21 18:17:05下载
- 积分:1
-
OTP 即一次性口令相比于原来的远程认证系统有着更好的安全性...
OTP 即一次性口令相比于原来的远程认证系统有着更好的安全性-OTP one-time password that is compared to the original remote authentication system has better security
- 2023-06-17 09:05:03下载
- 积分:1
-
Data Detection
在本文中,我们采用双阈值法在能量检测器进行频谱感知,而认知无线电网络中的融合中心将收集的本地的决定和观测值的次要的用户,然后作最后的决定,以确定主用户是否缺席或不。仿真结果将显示根据拟议的计划,而不是常规的方法大大提高了频谱感知性能的渠道。
- 2022-06-29 22:58:18下载
- 积分:1
-
Commonly used numerical algorithms, really good, everyone would like to be usefu...
常用数值算法,真的很不错的,希望对大家有用处-Commonly used numerical algorithms, really good, everyone would like to be useful
- 2022-05-25 09:22:28下载
- 积分:1
-
C语言算法
资源描述1000个C语言算法设计源码包含大量经典算法设计,简明易懂,对初学者很有帮助,文件很好的进行了分类
- 2022-03-06 19:12:14下载
- 积分:1