-
我们将用程序来模拟传统的龟兔赛跑问题。我们将采用随机数生成的方法开发这一问题的仿真程序。 再比赛中共设了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
-
用javascript实现的Naught and Crosses,就是我们通常所说的tic
用javascript实现的Naught and Crosses,就是我们通常所说的tic-tac-toe游戏。附加图片和完整代码-achieved using javascript and Crosses Naught is what we usually refer to the membrane-tac-toe game. Additional photographs and complete code
- 2022-02-22 09:20:37下载
- 积分:1
-
Kohonen 网络模拟大脑神经系统自组织特征映射的功能,它是一种竞争式学习网络,在学习中能无监督地进行自组织学习。...
Kohonen 网络模拟大脑神经系统自组织特征映射的功能,它是一种竞争式学习网络,在学习中能无监督地进行自组织学习。-Kohonen network simulation system cerebral self-organizing feature mapping function, It is a competitive learning networks, the study can be carried out without supervision from the organizational learning.
- 2022-01-28 23:12:28下载
- 积分:1
-
js对话框,用于实现跳出提示信息
js对话框,用于实现跳出提示信息 -message box
- 2022-07-22 22:05:49下载
- 积分:1
-
可很好完成MSP430与FPGA的并行通信,
可很好完成MSP430与FPGA的并行通信,-May very well complete the MSP430 parallel with the FPGA communication,
- 2022-01-25 20:31:15下载
- 积分:1
-
HT系列掌机与电脑通讯VB软件(含源码),支持以下系列的型号:HT1600,HT2680,HT2680A,HT28...
HT系列掌机与电脑通讯VB软件(含源码),支持以下系列的型号:HT1600,HT2680,HT2680A,HT28-HT Series portable communications VB and computer software (including source code), to support the following series of model: HT1600, HT2680, HT2680A, HT2800
- 2022-02-15 06:00:55下载
- 积分:1
-
飞思卡尔# 39智能汽车设计软件,对智能生产系统…
飞思卡尔智能车设计课件,系统讲解智能车的制作,对智能车爱好者有很大帮助,分享一下-Freescale" s Smart car design software, the system on the production of smart cars, smart car enthusiasts to be of great help to share with you ..
- 2022-10-17 04:25:09下载
- 积分:1
-
有关控制领域PID算法,实现简单的界面编程有待进一步完善
有关控制领域PID算法,实现简单的界面编程有待进一步完善-PID algorithm for the control of the area to achieve a simple interface for programming to be further improved
- 2022-02-15 21:44:44下载
- 积分:1
-
基于fpga串口通信,有数码管显示发送和接受现实
基于fpga串口通信,有数码管显示发送和接受现实-du to fpga
- 2022-08-31 13:00:03下载
- 积分:1
-
PIC16C54 开发的抽油烟机电路图,提供大家参考!
PIC16C54 开发的抽油烟机电路图,提供大家参考!-PIC16C54 development of the range hoods circuit diagrams for your reference!
- 2022-01-25 19:43:05下载
- 积分:1