-
犯错
某一层楼20层,有五部互联的电梯。基于线程思想所编写一个电梯调度程序。
每个电梯里面应该有一些按键:数字键、关门键、开门键、等。
每层楼的每部电梯门口,应该有上行和下行按钮。
五部电梯门口的按钮是互联结的,即当一个电梯按钮按下去时,其他电梯的相应按钮也就同时点亮,表示也按下去了。
调度算法是根据这五部电梯的状态,寻找离当前楼层最近的且和请求同方向的电梯给予响应。
所有电梯初始状态都在第一层。每个电梯如果在它的上层或者下层没有相应请求情况下,则应该在原地保持不动。
-err
- 2022-02-15 23:33:33下载
- 积分:1
-
利用图像区域的局部梯度信息,同时利用序列图像之间局部区域的全局信息及其相关性重
新构造外部能量函数 并根据内外部能量的比值,动态地调节权值参数. 实验结果表...
利用图像区域的局部梯度信息,同时利用序列图像之间局部区域的全局信息及其相关性重
新构造外部能量函数 并根据内外部能量的比值,动态地调节权值参数. 实验结果表明,改
进算法既可以有效地检测出一些拐角点和凹点,又可以避免目标边缘收敛于某些噪声点
或伪边缘点,可达到良好的体分割效果.-Use of local image gradient information region, while the use of sequential images of the overall situation between the local area information and its relevance to re-structure the external energy function and in accordance with the ratio of internal and external energy, the right to adjust the value of dynamic parameters. Experimental results show that the improved algorithm not only can be effectively detected in a number of corner points and concave point, and prevent the goal of the edge of convergence in certain noise or pseudo-edge point, the body can achieve good segmentation results.
- 2022-05-10 18:57:13下载
- 积分:1
-
通过一个网络规划的实例,来演示基因算法的VC++实现。
通过一个网络规划的实例,来演示基因算法的VC++实现。-Through a network planning example to demonstrate the genetic algorithm VC++ Achieve.
- 2022-06-29 00:31:44下载
- 积分:1
-
After running this code calculator for a run at the calculator WINDOWS
计算器此代码运行后为一款在WINDOWS下运行的计算器-After running this code calculator for a run at the calculator WINDOWS
- 2022-07-15 19:56:39下载
- 积分:1
-
动态加密,使加密des64更可靠,例如,SA…
des64动态加密使加密更可靠,比如同是123456,但加密出来的密文确不相同-Dynamic encryption to enable encryption des64 more reliable, for example, the same is 123456, but the encryption from the ciphertext is indeed not the same
- 2022-02-01 00:27:29下载
- 积分:1
-
定制 MessageBox 的式样(初学者好用的东东)
定制 MessageBox 的式样(初学者好用的东东)-customize the layout MessageBox (beginners handy saucepan)
- 2022-02-14 08:05:43下载
- 积分:1
-
让你学会怎么样画余弦曲线
让你学会怎么样画余弦曲线-allow you to learn what the painting cosine curve
- 2022-08-17 03:55:31下载
- 积分:1
-
用c++实现红黑树,对红黑树里面的各种情况进行了分析,代码带有注释...
用c++实现红黑树,对红黑树里面的各种情况进行了分析,代码带有注释-With c++ Realize black trees, black trees on the various situations which were analyzed, the code with the Notes
- 2023-03-27 17:55:03下载
- 积分:1
-
北大oj上3653源代码,希望对大家有用
北大oj上3653源代码,希望对大家有用-3653 North oj on the source code, in the hope that useful to everybody
- 2023-08-10 18:25:02下载
- 积分:1
-
利用PIC16F877卡片做仿真卡的文件,中文菜单。
利用PIC16F877卡片做仿真卡的文件,中文菜单。-PIC16F877 card use simulation to do the paper cards, Chinese menu.
- 2023-06-19 01:15:04下载
- 积分:1