-
我们将用程序来模拟传统的龟兔赛跑问题。我们将采用随机数生成的方法开发这一问题的仿真程序。 再比赛中共设了70个点,每个点代表比赛跑道可能的一个位置。乌龟和兔从第...
我们将用程序来模拟传统的龟兔赛跑问题。我们将采用随机数生成的方法开发这一问题的仿真程序。 再比赛中共设了70个点,每个点代表比赛跑道可能的一个位置。乌龟和兔从第一个点出发,终点是在第70个点上。 时钟按秒来数计。随着时钟的转动,程序能够根据下述规则来调节乌龟和兔子的位置。动物 跑动类型 占用时间 跑动量乌龟 快走 50% 向右3个点 后滑 20% 向左6个点 慢走 30% 向右1个点兔子 睡觉 20% 不动 大后滑 20% 向右9 个点 快走 10% 向左12个点 小步跳 30% 向右1个点 慢后滑 20% 向左两个点 -procedures we will use to simulate the traditional hand problems. We will adopt the random number generator of the development of the simulation program. Another winner set up 70 points, each point represents the runway competition of a possible location. The turtle and a rabbit from the starting point and finish in the first 70 points. According to the clock to a few seconds of dollars. As the clock turned to procedures under the following rules to regulate turtle and the rabbit"s location. Running types of animals occupying volume running time 50% of turtles to leave three points right after sliding 20% six points left walking 30% a point right rabbits sleep 20% Fixed After a 20% slide right nine points to leave 10% left
- 2023-05-25 17:55:03下载
- 积分:1
-
RainyNight
说明: 使用 C++在画布上实现城市的雨夜动态效果图。(Realizing the Dynamic Effect Map of Rain Night in the City)
- 2020-06-18 05:40:02下载
- 积分:1
-
45款Java手机游戏源码合集下载
45款Java手机游戏源码合集下载,源码包括3D卡丁车源码,声色棋牌之拖拉机.jar,千王之王之21点,4种牌类游戏,3D Super Ball paopaolong,可以全屏的斗地主,埃及祖玛,我爱黄金矿工.jar,漆黑惊粟DarkestFear.jar,原装贪吃蛇,Goldminer挖金等等,相信这些游戏源码实例对于从事手机游戏编写的朋友们帮助较大。
- 2022-02-05 02:22:17下载
- 积分:1
-
Load-frequency-control-of-interconnected-power-sy
In this article an attempt has been made to solve load frequency control (LFC) problem in an inter-
connected power system network equipped with classical PI/PID controller using grey wolf optimization
(GWO) technique. Initially, proposed algorithm is used for two-area interconnected non-reheat thermal-
thermal power system and then the study is extended to three other realistic power systems, viz. (i) two-
area multi-units hydro-thermal, (ii) two-area multi-sources power system having thermal, hydro and gas
- 2017-04-30 14:43:15下载
- 积分:1
-
LTE_TX_POWER
说明: 该程序可以控制CMW综测仪在LTE模式下对发射功率进行测量和获取(The program can control the CMW instrument to measure and acquire the transmitting power in LTE mode)
- 2019-11-07 10:26:05下载
- 积分:1
-
13898350hht
EMD分解源码,可用于信号的分解,去噪以及细节分析。是最新的2007的版本。
- 2009-11-27 18:44:53下载
- 积分:1
-
这是485芯片的USB通信源码,实现和电脑的通信
这是485芯片的USB通信源码,实现和电脑的通信-This is the 485 chip USB communication source to achieve and computer communications
- 2022-01-26 07:53:08下载
- 积分:1
-
杨辉三角形
说明: 实现杨辉三角形的C++代码,基础编程实例(Yang hui triangle to achieve the C++ code, basic programming examples)
- 2020-05-11 10:11:16下载
- 积分:1
-
PID
PID与模糊控制程序,模糊控制采用查询方式,PID为增量式(PID and fuzzy control procedures, the use of inquiry methods of fuzzy control, PID for Incremental)
- 2021-03-05 23:09:31下载
- 积分:1
-
everest的cjacker写的make使用心得1
everest的cjacker写的make使用心得1-everest
- 2022-01-28 02:43:23下载
- 积分:1