搜索资源列表
bean.rar
- 输入字符串并按队列和链表输出再排序的小程序,Enter the string in accordance with the output queue and re-sorted list of small programs
matlab
- 可实现银行排队论mmm,输出随机数matlab实现计算机模拟排队论-Bank of queuing theory can be realized mmm, the output random number matlab computer simulation of queuing theory to achieve
tree
- 用树的应用模拟铁路查询功能。掌握图的邻接表的定义及应用,能够熟练使用邻接表。加强对map容器的理解,能够熟练使用map容器,复习集合和字典的相关知识。理解最短路径问题,并使用Dijkstra算法解决最短路径问题。掌握线形表的使用,并理解优先队列解决问题的过程。利用栈解决需要逆向输出的问题。 -Application of simulation using the tree railway inquiry function. Master graph adjacency list of def
jin
- 要求程序输出每辆车到达后的停车位置(停车场或便道),以及某辆车离开停车场时应该交纳的费用和它在停车场内停留的时间。 汽车的模拟输入信息格式可以为:(到达/离开,汽车牌照号码,到达/离开的时间)。用栈和队列来模拟停车场和便道 -Request procedures after the arrival of output per vehicle parking spaces (parking lot or sidewalk), as well as a vehicle to leave
queue
- 串口通讯里,对接收到的字符进行缓冲处理,并以队列形式输出至外面-Serial communication, the docking buffer characters received treatment, and the output queue to form outside
Swithcing.tar
- This a Switch simulation... with 4 types of switches... and also we have average simulation time over these 4 switches 1. No queue 2. Input queue 3. Input queue with iterative 4. output queue-This is a Switch simulation... with 4 types
tcc
- 以栈模拟停车场,以队列模拟车场外的便道。每一组输入数据包括三个数据项:汽车“到达”或“离去”信息、汽车牌照号码以及到达或离去的时刻。对每一组输入数据进行操作后的输出信息为:若是车辆到达,则输出汽车在停车场内或便道上的停车位置;若是车辆离去,则输出汽车在停车场内停留的时间和应交纳的费用(在便道上停车不收费)。栈以顺序存储结构实现,队列以链表结构实现。-Simulation of the car park to the stack to queue outside the road vehicle
iSLIP_R
- 高性能交换机的基于虚拟输出队列的iLISP算法的实现,支持三种流量模型。-High-performance switch-based virtual output queue algorithm iLISP in support of the three flow model.
PIM_R
- 高性能交换机的基于虚拟输出队列的PIM交换算法,类似于cross-bar的算法,其中包含了流量模型。-High-performance switches virtual output queue based on the exchange of the PIM algorithm, similar to cross-bar of the algorithm, which includes a flow model.
MMK
- 排队论 M/M/K 模拟。 VC6.0 环境下调试通过。 运行时输入到达率, 离开率和服务器个数, 输出为平均队伍长度。-Queuing theory M/M/K analog. VC6.0 environment to debug through. Run-time input arrival rate, departure rate and the number of servers, the output length of average ranks.
queue
- 队列,用顺序或链式结构实现一个队列,采用二叉链表存储结构,用递归方式建立二叉树对 应的二叉链表,并建立队列实现该二叉树的层次遍历序列的输出。 -queue, with the sequence or chain structure to achieve a queue, using the binary storage structure list, using a recursive approach to building a binary tree corresponding to
ex1
- 1. 创建多 Task,为每个Task 创建私有的Message queue,每个Task 只通过自己的私有 Message queue 接收消息;Task 间消息通信通过向对方私有Message queue 发送消息完 成。 2. Task1:管理Task。负责系统启动时同步系统中其他Task 的启动同步,利用信号量的 semFlush()完成。同时接收各Task 的告警信息,并负责系统结束时的Task 删除处理。 3. Task2:激励Task。利用taskDelay()
demo
- 1. 创建多 Task,为每个Task 创建私有的Message queue,每个Task 只通过自己的私有Message queue 接收消息;Task 间消息通信通过向对方私有Message queue 发送消息完 成。 2. Task1:管理Task。负责系统启动时同步系统中其他Task 的启动同步,利用信号量的semFlush()完成。同时接收各Task 的告警信息,并负责系统结束时的Task 删除处理。 3. Task2:激励Task。利用taskDelay()完成周期地向
queue
- 队列的一些简单基本操作,包括删除,输出等-queue of some simple basic operations, including delete, output, etc.
zhicha
- 数据结构中之差法。然后队列出来,然后在通过顺序队列输出来-Difference method data structure. Then queue up, then the output queue by the order
queue
- (一)题目: 假设以带头结点的循环链表表示队列,并且只设一个指针指向队尾元素结点而不设头指针,试编写相应的队列初始化、入队列、出队列和判断队列状态的算法。 利用上述算法完成下面的各操作,并在每一操作后输出队列状态。 1)下列元素逐一入队:5,7,3,8,55 状态:5个元素 2) 3个元素出队 状态:2个元素 3)再2个元素出队 状态:队空 4)再1个元素出队 状态:队空(指示下溢) -(A) Title: Suppose to take the l
queue
- 组队列算法: 设置队列指针a和b,a和b都为0 建立n个数组记录元素的分组情况 初始化,i=0,表示当前有多少个队列已经有元素 读入1个命令 如果是删除命令,从第a个队列开始搜索,找到第1个元素出队 如果删除元素后队列变空,a++ 如果是结束命令,输出所有队列的元素,注意队列为空则不要输出 如果是插入命令,首先检查a到b中各个队列是否有同组元素 如果在第k个队列发现同组元素,则进入第k队列 如果无发现,则插入第b个队列,b++ -Group qu
Eight-queue
- 八皇后问题:设8皇后问题的解为 (x1, x2, x3, …,x8), 约束条件为:在8x8的棋盘上,其中任意两个xi 和xj不能位于棋盘的同行、同列及同对角线。要求用一位数组进行存储,输出所有可能的排列。-Eight queens problem: Let the eight queens problem, the solution (x1, x2, x3, ..., x8), constraint conditions: on a 8x8 board, in which any two xi
fk
- 1.分别写出下列函数的递归算法和迭代算法,并求出n=10时的函数值。 Fib(n)= n 当n=0或n=1 Fib(n-2)+Fib(n-1) 当n³ 2 2. 假设以带头结点的循环链表表示队列,并且只设一个指针指向队尾元素结点而不设头指针,试编写相应的队列初始化、入队列、出队列和判断队列状态的算法。 利用上述算法完成下面的各操作,并在每一操作后输出队列状态。 1)下列元素逐一入队:5,7,3,8,55 状态:5个元素 2)3个元素出队 状态
main
- 编程模拟队列的管理,主要包括:出队列、入队、统计队列的长度、查找队列某个元素e、及输出队列中元素。-Programming model queue management, mainly including: the length of the queue, into the team, statistics queue, find elements in the queue is an element e, and the output queue.