搜索资源列表
复件 轮渡问题
- 1. 汽车轮渡口,过江渡船每次能载10辆车过江,过江车辆分为客车类和货车类,上渡船有如下规定:同类车先到先上船,客车先于货车上渡船,且每上4辆客车,才允许上一辆货车。若等待客车不足4辆,则从货车代替,若无货车等待允许客车上船。试写一个算法模拟渡口管理。 算法设计: 1客车和货车均建立一个链式队列,初始均为空。以后来一辆车不是货车就是客车,因此可以说整个程序的事件驱动event就是这两个,客车表示1,货车表示0. 2轮船还没有到达时客车和货车均按次序排在
ferry
- 该算法模拟渡口管理。过江渡船每次能载10辆车过江,过江车辆分为客车类和货车类,上渡船有如下规定:同类车先到先上船,客车先于货车上渡船,且每上4辆客车,才允许上一辆货车。若等待客车不足4辆,则从货车代替,若无货车等待允许客车上船。-the algorithm simulation ferry management. Jiang Ferry each can carry 10 cars crossing the river, crossing the river into passenger veh
Neobus0.1-2
- 北京公交车查询系统 北京公交车查询系统-Beijing Bus Inquiry System Beijing Bus Inquiry System
数据结构车务管理
- 用数据结构实现基本算法 用C++实现车务管理,需用到栈基本数据结构-data structure used to achieve basic algorithm to achieve C bus services management, needed to stack the basic data structure
b
- 【问题描述】: 有一个渡口,每条渡轮一次能装载10辆汽车过江,过江车辆分为客车和货车两类,上渡轮有如下规定: ⑴同类汽车先到先上船; ⑵客车先于货车上船; ⑶每上4辆客车才允许上一辆货车,但若等待的客车不足4辆则用货车填补,反过来,若没有货车等待则用客车填补; ⑷装满10辆后则自动开船,当等待时间较长时车辆不足10辆也应人为控制发船。 【实现提示】: 此题可建立和使用两个链式队列,一个为客车队列,另一个为货车队列,到渡口需过江的汽车分别进入到相应队列中。当渡口有渡轮
123456789
- 最短路径计算,计算两点之间最短的公交线路-The shortest path calculation between two points the shortest bus route
bus_stop
- 停车场管理系统,用队列和栈实现车辆管理,记录车辆到达和离开时间-bus stop system,using stack and ...
BUS_BIN
- (estructura de datos) programa en C++ para ejemplificar bus binario
GIStransportation
- 利用公 交线路路 口作 为顶 点,简化 了传统算 法对复 杂 网络拓扑 图的计 算;同时,利 用乘客 出行 偏好 .引入 线 网密度来评 价乘客的 出行 方便程度 ,并提 出了一种最短路 径快速搜 索算法.实验证明 ,与传 统算法相比 ,该算法明显提 高了路径搜 索效率. -Intersection as the peak use of bus lines, simplified the traditional algorithm is the calculation of comp
busroutequery
- 数据结构课程设计,公交车路线查询,简单了一点-Curriculum design data structure, bus route query
DatastructDesign
- 本人上学期数据结构课程设计(包含9个程序),一部分使用MFC(IDE为VS2008),一部分为控制台程序(IDE为DEV-C++),代码量大约148KB。(内容包括电梯模拟、南京公交路线查询等等)-I designed last semester data structures courses (including 9 procedures), part of the use of MFC (IDE is VS2008), part of the console application (IDE
Urban-travel-issues
- 城市出行问题。某城市有若干中心区,在一些中心区之间存在道路相连。这些道路中的一些已开通了公交线路。需要在中心区间旅行的人们有如下几种交通方式可供选择: 1.骑自行车,平均速度15km/h。 2.公交与步行结合,不同道路的公交车平均速度不同,标注于下图的B 中,B=0 代表这 条道路尚未开通公交线路,步行的平均速度为5km/h。允许搭乘公交与步行两种方式自由进 行组合,切换的次数不限。 3.自驾车,不同道路的平均速度不同。 现在你要从区域A 出发要区域B,由于时间紧迫,请提
00948259_ACM_1167
- 该程序能根据男子记录下的数据,计算出最少有多少条公交车线路经过该车站-The program can record the data according to man, to calculate the minimum number of bus lines through the station
Bus-inquires-the-idea
- 公交换乘设计思路,实现最多两次换乘。公交换乘思路大概是这样,当然还可以使用二叉树-Bus transfer design ideas to achieve a maximum of two transfer. Bus transfer thinking about this, of course, you can also use the binary tree
OS_driver-and-ticket
- 要求完成的主要任务: (包括课程设计工作量及其技术要求,以及说明书撰写等具体要求) 1.模拟公共汽车司机和售票员开关门及行车操作的同步模型。 2.设计报告内容应说明: ⑴ 需求分析; ⑵ 功能设计(数据结构及模块说明); ⑶ 开发平台及源程序的主要部分; ⑷ 测试用例,运行结果与运行情况分析; ⑸ 自我评价与总结 -Required to complete major tasks: (including course design work and technic
bus
- 数据结构编程题目,BUS问题,使用C语言编程-data structure programming problem,bus problems,with language
the-Bus-Magement--System
- 1.查找公交直达路线 2.删除公交路线 3.增加公交路线 4.查询最短公交路线 -1 direct bus route to find 2 Remove the bus route 3 bus routes to increase 4 the shortest transit route query
to-see-the-Olympics-by-bus
- 数学建模题目-乘公交看奥运代码,实现北京地铁公交换乘次数少,时间少,费用少-Mathematical modeling topics- code by bus to see the Olympics, realization of Beijing subway transit times less, less time and less cost
see-the-Olympics-by-bus-and-subway
- 数学建模题目-乘公交和地铁看奥运代码,实现北京地铁公交换乘次数少,时间少,费用少-Mathematical modeling topics- by bus and subway watching Olympic code, to achieve the Beijing subway transit times less, less time and less cost
Check bus routes
- 问题描述 当一个用户从甲地到乙地时,由于不同需求,就有不同的交通方式及不同的交通路线。有人希望以最快速度到达,有人希望以最短距离到达,有人希望用最少的费用等。交通方式有公交车和地铁。编写一北京公交线路查询系统,通过输入起始站、终点站,为用户提供三种或以上决策的交通咨询。(problem descr iption When a user goes from point a to point b, there are different modes of transportation and d