CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 Windows编程 其他小程序

文件名称:Carriage-rearrangement

介绍说明--下载内容来自于网络,使用问题请自行百度

利用队列结构实现车厢重排问题。车厢重排问题如下:

一列货车共有n节车厢,每个车厢都有自己的编号,编号范围从1~n。给定任意次序的车厢,通过转轨站将车厢编号按顺序重新排成1~n。转轨站共有k个缓冲轨,缓冲轨位于入轨和出轨之间。开始时,车厢从入轨进入缓冲轨,经过缓冲轨的重排后,按1~n的顺序进入出轨。缓冲轨按照先进先出方式,编写一个算法,将任意次序的车厢进行重排,输出每个缓冲轨中的车厢编号。

-Queue structure compartment rearrangement. Compartment rearrangement as follows: a freight train and rode a total of n cars, each compartment has its own number, the number ranging from 1 to n-. Given the carriage of any order through the transition station the carriage number in order for rearrangement 1 ~~ n. Transition station k-buffer rail buffering rail located between the orbit and the derailment. The beginning of the compartment from the orbit into the buffer rail, after a rearrangement of the buffer track, according to the order of 1 ~ n into the derailment. Buffer rail in accordance with the FIFO manner, the preparation of an algorithm, in any order of the compartment rearrangement, the output of each buffer rail carriage number.
(系统自动生成,下载前可以参看下载内容)

下载文件列表

车厢重排/1.h
车厢重排/Debug/main.obj
车厢重排/Debug/vc60.idb
车厢重排/Debug/vc60.pdb
车厢重排/Debug/车厢重排.exe
车厢重排/Debug/车厢重排.ilk
车厢重排/Debug/车厢重排.pch
车厢重排/Debug/车厢重排.pdb
车厢重排/main.cpp
车厢重排/车厢重排.dsp
车厢重排/车厢重排.dsw
车厢重排/车厢重排.ncb
车厢重排/车厢重排.opt
车厢重排/车厢重排.plg
车厢重排/Debug
车厢重排

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com