文件名称:ex02
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2014-01-22
- 文件大小:
- 13kb
- 下载次数:
- 0次
- 提 供 者:
- rea****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
某停车场共有TOTAL-NUM个车位, ENTRY-NUM个进口, EXIT-NUM个出口. 现需要一个用于停车场控制汽车进出的分布式系统, 在该系统中没有集中的管理者(central server), 每个进(出)口通过通信平等协商保存当前车库的状态信息(如空闲车位数UNOCCUPIED-NUM等), 并据此决定是否允许车辆进入, 为简便计, 假定通信是可靠的.
1.2 作业要求
1) 不考虑节点/进程失效的情形, 设计用于该停车场控制的分布式系统, 并给出汽车进出时使用该系统的方法.
2) 证明你所设计的分布式系统中使用的同步算法满足ME1-ME3*.
3) 如果新增一个进口节点/进程, 请考虑如何使该进口能参与工作.
-A total of TOTAL-NUM parking spaces, ENTRY-NUM months of imports, EXIT-NUM exit. Currently need a car out of the parking lot control for distributed systems, there is no centralized in the system manager (central server) Each inlet (export) to save the current state of information garage (such as the number of free parking spaces UNOCCUPIED-NUM, etc.) through equal consultations communications, and accordingly decide whether to allow vehicles to enter, for simplicity meter, assuming that the communication is reliable. 1.2 jobs Requirements 1) does not consider the case of node/process fail, the parking lot is designed for distributed control systems, and gives the car and out of the system using the method. 2) prove sync your distributed system designed for use algorithm satisfies ME1-ME3*. 3) If you add an import node/process, consider how to make the imports can be engaged.
1.2 作业要求
1) 不考虑节点/进程失效的情形, 设计用于该停车场控制的分布式系统, 并给出汽车进出时使用该系统的方法.
2) 证明你所设计的分布式系统中使用的同步算法满足ME1-ME3*.
3) 如果新增一个进口节点/进程, 请考虑如何使该进口能参与工作.
-A total of TOTAL-NUM parking spaces, ENTRY-NUM months of imports, EXIT-NUM exit. Currently need a car out of the parking lot control for distributed systems, there is no centralized in the system manager (central server) Each inlet (export) to save the current state of information garage (such as the number of free parking spaces UNOCCUPIED-NUM, etc.) through equal consultations communications, and accordingly decide whether to allow vehicles to enter, for simplicity meter, assuming that the communication is reliable. 1.2 jobs Requirements 1) does not consider the case of node/process fail, the parking lot is designed for distributed control systems, and gives the car and out of the system using the method. 2) prove sync your distributed system designed for use algorithm satisfies ME1-ME3*. 3) If you add an import node/process, consider how to make the imports can be engaged.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
newpark\Entrance.java
.......\Exit.java
.......\InitFrame.java
.......\Message.java
.......\ParkManager.java
.......\PortI.java
.......\PortInfBean.java
newpark