搜索资源列表
CarPark
- Simulation of a car parking lot using Java
Parking
- 有一个停车场,有m个进口,n个出口,k个空车位。要求每一刻只能有一个进口有车进入。停车场内没有一个集中的管理者,采用分布式的算法实现。能够动态的增加一个进口节点。-There is a parking lot, there are m-imported, n outlet, k empty parking spaces. Requires that every moment there can be only one import a car to enter. Car park does no
INTERFACE-FOR-THE-SIMULATION-OF-THE-MANAGEMENT-OF
- INTERFACE FOR THE SIMULATION OF THE MANAGEMENT OF A PARKING: Just a java applet to simulate an interface for managing a parking lot, to see the applet must run the html file in the zip.
MyParking11
- 这个代码是一个停车场管理系统,关于数据结构的实验,实现停车计费功能,若停车场满了就停在便道里,停车场出去一辆车,便道进去一辆车-This code is a parking management system, experiments on data structures, parking meter, the parking lot full of parked on the sidewalk, parking out of a car, the sidewalk inside a car
Parkinglot
- 停车场里经常碰到车对车的情况,有时候车停的还很深。这能最大化地增加停车场停的车的数量,但是车主的车被停在一大排的车后面。在这种情况下,所有的车要离开来让要出去的车离开-Parking lot attendants often park cars bumper-to-bumper, several cars deep. This maximizes the number of cars they can fit into a parking lot at the expense of compli
ex02
- 某停车场共有TOTAL-NUM个车位, ENTRY-NUM个进口, EXIT-NUM个出口. 现需要一个用于停车场控制汽车进出的分布式系统, 在该系统中没有集中的管理者(central server), 每个进(出)口通过通信平等协商保存当前车库的状态信息(如空闲车位数UNOCCUPIED-NUM等), 并据此决定是否允许车辆进入, 为简便计, 假定通信是可靠的. 1.2 作业要求 1) 不考虑节点/进程失效的情形, 设计用于该停车场控制的分布式系统, 并给出汽车进出时使用该系统的方
