文件名称:train
-
所属分类:
- 标签属性:
- 上传时间:2014-06-28
-
文件大小:109.93kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
一列货运列车共有n节车厢,每节车厢将停放在不同的车站。假定n个车站的编号分别为1~n,即货运列车按照第n站至第1站的次序经过这些车站。为了便于从列车上卸掉相应的车厢,车厢的编号应与车站的编号相同,这样,在每个车站只要卸掉最后一节车厢。所以,给定任意次序的车厢,必须重新排列它们。
车厢的重排工作可以通过转轨站完成。在转轨站中有一个入轨、一个出轨和k个缓冲轨,缓冲轨位于入轨和出轨之间。假定缓冲轨按先进先出的方式运作,设计算法解决火车车厢重排问题。
-A total of n freight train cars, each car will be parked at different stations. Assume n stations were numbered 1 ~ n, namely freight train station to the n-th order in accordance with the first station after the station. In order to facilitate the appropriate compartment removed from the train station car number should be the same number, so get rid of the car at each station as long as the final section. Therefore, any order given to the car, you must rearrange them.
Rearrangement of the work carriage can be completed through the transition station. There is a transition station in orbit, a derailment and k-rail buffer, the buffer rails located between the orbit and the derailment. FIFO buffer is assumed by way of rail operations, railcar design algorithms to solve the problem rearrangement.
车厢的重排工作可以通过转轨站完成。在转轨站中有一个入轨、一个出轨和k个缓冲轨,缓冲轨位于入轨和出轨之间。假定缓冲轨按先进先出的方式运作,设计算法解决火车车厢重排问题。
-A total of n freight train cars, each car will be parked at different stations. Assume n stations were numbered 1 ~ n, namely freight train station to the n-th order in accordance with the first station after the station. In order to facilitate the appropriate compartment removed from the train station car number should be the same number, so get rid of the car at each station as long as the final section. Therefore, any order given to the car, you must rearrange them.
Rearrangement of the work carriage can be completed through the transition station. There is a transition station in orbit, a derailment and k-rail buffer, the buffer rails located between the orbit and the derailment. FIFO buffer is assumed by way of rail operations, railcar design algorithms to solve the problem rearrangement.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
火车重排序问题/linkqueue.h
火车重排序问题/Makefile.win
火车重排序问题/火车重排序问题.cpp
火车重排序问题/火车重排序问题.dev
火车重排序问题/火车重排序问题.exe
火车重排序问题/火车重排序问题.o
火车重排序问题
火车重排序问题/Makefile.win
火车重排序问题/火车重排序问题.cpp
火车重排序问题/火车重排序问题.dev
火车重排序问题/火车重排序问题.exe
火车重排序问题/火车重排序问题.o
火车重排序问题
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.