代做progresses留学生作业、代写c/c++编程语言作业、C++课程作业代写、代做programming skills作业帮做C/C++编程|代做Dat

Assignment 2IntroductionAs we discussed in class, process become blocked whenever they are waiting for aresource or for an operation to complete. In air-travel a similar situation occurs whena plane for a particular flight is delayed (or is not available). This is a primary causeof increasing delays as the day progresses.The purpose of this assignment is1. Reinforce the idea of blocking and its effect on scheduling.2. To implement blocking mechanisms similar to ones in an operating system.3. To further improve your programming skills. In this assignment you will extend theair transportation simulator by adding the ability to block flights when the planerequired for the flight is not available.BackgroundThis assignment assumes all the background described in Assignment 1. Flightsrequire an important piece of equipment to proceed: a plane. At the start of the day, aplane is assigned to the first flights. When a flight arrives at an airport, the plane iscleaned up (“groomed”) and then used for another flight departing from the sameairport. When that flight ends, the plane is again groomed and assigned to anotherflight departing from its new location. The plane identifier (PID) is used to uniquelyidentify each plane and is part of the flight information. Naturally, if a plane isdelayed or breaks down, flights that rely on it may be delayed (or canceled) as well. Itis a common (unpleasant) experience to be waiting at the gate and being told that theplane has not yet arrived. Once a plane arrives, it takes at least 30 minutes to groomthe plane in preparation for departure. Once the plane is groomed, the flight that willuse it can depart on or after itsscheduled departure time. Thus, an additional 30 minutes must be allowed betweenwhen a plane arrives and departs. Note: The first time a plane is used, it is alreadygroomed and can depart at the flight’s appointed time. Your task will be to implementthis aspect of scheduling in the air traffic simulator called atsim. You can eitherextend your own version, which you submitted for Assignment 1, or the providedAssignment 1 solution.Simulator InputThe input is the same as Assignment 1. Please see examples as shown in the providedtest suite (tests_2.zip).Processing and SemanticsAll processing rules described in Assignment 1 apply, in addition to the following: Each plane is identified by a plane ID that is in the range 0 . . . 999. The plane used by a flight must be at the same airport as the origin of the flight. Each plane is initially at the same airport as the first flight that will use it. E.g., If thefirst flight to use plane 42 originates in YHZ, then initially plane 42 is at YHZ. If a plane is being use by a flight, no other flight can use it until the flightcompletes and the plane is groomed. After a flight completes (arrives at the gate), the plane associated with the flighttakes 30 minutes to groom. I.e., there is a 30 minute interval between the arrival anddeparture of the same plane. Once a plane is groomed, the flight to use the plane may depart from the gateimmediately. If no flight needs to use the plane immediately, the plane remains at theairport until it is used. Reminder: The simulation completes once all the flights have completed or the dayhas ended.Expected OutputThe output is the same as Assignment 1. Please see examples as shown in theprovided test suite (tests_2.zip).Hints and Suggestions1. Each airport will need a list to keep track of all blocked flights that are waiting fortheir plane. 2. Either a global or per-airport table of planes and their status will beuseful. 3. The sample solution to Assignment 2 only required modifying the airport.cfile and required 55 lines of additional code.本团队核心人员组成主要包括BAT一线工程师,精通德英语!我们主要业务范围是代做编程大作业、课程设计等等。我们的方向领域:window编程 数值算法 AI人工智能 金融统计 计量分析 大数据 网络编程 WEB编程 通讯编程 游戏编程多媒体linux 外挂编程 程序API图像处理 嵌入式/单片机 数据库编程 控制台 进程与线程 网络安全 汇编语言 硬件编程 软件设计 工程标准规等。其中代写编程、代写程序、代写留学生程序作业语言或工具包括但不限于以下范围:C/C++/C#代写Java代写IT代写Python代写辅导编程作业Matlab代写Haskell代写Processing代写Linux环境搭建Rust代写Data Structure Assginment 数据结构代写MIPS代写Machine Learning 作业 代写Oracle/SQL/PostgreSQL/Pig 数据库代写/代做/辅导Web开发、网站开发、网站作业ASP.NET网站开发Finance Insurace Statistics统计、回归、迭代Prolog代写Computer Computational method代做因为专业,所以值得信赖。如有需要,请加QQ:99515681 或邮箱:[email protected] 微信:codehelp QQ:99515681 或邮箱:[email protected] 微信:codehelp

你可能感兴趣的:(代做progresses留学生作业、代写c/c++编程语言作业、C++课程作业代写、代做programming skills作业帮做C/C++编程|代做Dat)