-
总个数确定后,每张盘curDisk的移动方向maybe_To是确定的且唯一的:如共有三个盘时,盘1始终向左移动。 这里,将柱子由左向右看成A(源柱子Source...
总个数确定后,每张盘curDisk的移动方向maybe_To是确定的且唯一的:如共有三个盘时,盘1始终向左移动。 这里,将柱子由左向右看成A(源柱子Source),B(借助的柱子Borrow),C(目标柱子Target). A的左看成C,B的左看成A,C的左看成B; A的有看成B,B的右看成C,C的右看成A; 每张盘的移动方法(因为不可能连续两次移动相同的盘!): 一个盘curDisk现在在 柱子curStick上,那么curDisk另一个柱子(3个中除了2个的另1个) 只要有选择的选择一个柱子curStick,分析、判断其最上面的盘curDisk的能否向curDisk确定的唯一的方向移动;移动 完后 再 选择 另一个 柱子 分析 判断 就可以完成了 (这个算法特别适合于人玩这个“弱智”(我有同学这么说)游戏,我玩我的文曲星pc1000a上的Hanoi 9层游戏,需要5分钟就可以移动完毕)-total number identified, each set curDisk maybe_To direction of the movement of which is determined only : If there are three disk, was always left a mobile. Here, the columns from left to right as A (source pole Source), B (using the pole Borrow), C (target pole Target). A left as C, B to the left as A, C on the left as B; A as the B, B on the right side as C, the right as A; each set of mobile methods (as it is impossible for the same two mobile disk!) : a set curDisk curStick now on the pole, then curDisk another pole (three in addition to two other one), when given a choice, choose a pole
- 2022-09-17 11:25:03下载
- 积分:1
-
CNN_HSIC-master
CNN高光谱图像分类,包含1D,2D,3D(CNN hyperspectral image classification)
- 2021-04-09 22:18:59下载
- 积分:1
-
MATLAB公式程序
应用于矩形微带天线尺寸长和宽的计算程序(Size of rectangular microstrip antenna)
- 2018-07-30 11:52:29下载
- 积分:1
-
视觉测距
说明: 利用相似三角形原理来使用单目摄像头测距,使用的语言为python,测试图形为圆形。(Using the principle of similar triangle to use monocular camera for ranging, using Python language, the test figure is circular.)
- 2019-03-25 10:44:05下载
- 积分:1
-
PPT
说明: PPT 模板,包括项目总结报告、员工知识培训、学生答辩等类型模板。(PPT template, including the project summary report, staff knowledge and training, student and other types of reply template.)
- 2011-03-08 15:48:40下载
- 积分:1
-
C程序设计语言
C语言程序设计,介绍了C语言的基础语法。(C Language Programing Design)
- 2020-06-18 08:20:02下载
- 积分:1
-
vl53l0x-51-master
说明: 51单片机VL530X0L激光测距,测试过,可用,(Vl530x0l laser ranging)
- 2021-02-01 17:00:00下载
- 积分:1
-
seek a path
说明: 移动机器人的寻找路径方法,避开障碍物,从规定点抵达终点(The mobile robot's path finding method avoids obstacles and reaches the end point from the specified point.)
- 2018-04-22 16:16:25下载
- 积分:1
-
code
说明: 综合学习资料,包含树枝电解,无人机轨迹规划和通信权衡仿真(Comprehensive learning materials, including tree electrolysis, UAV trajectory planning and communication trade-off simulation)
- 2020-02-11 23:18:15下载
- 积分:1
-
baaghclywill
说明: 在工业控制软件中经常要显示测量数据,如果在在界面上单纯显示一些数字会显得很单调,如果能在软件中添加色泽艳丽的控件,就一定会(Measurement data are often displayed in industrial control software. If you simply display some numbers on the interface, you will be monotonous. If you can add brightly colored controls to the software, you will certainly be able to)
- 2018-12-22 16:54:59下载
- 积分:1