분류 | 게시판 |
베스트 |
|
유머 |
|
이야기 |
|
이슈 |
|
생활 |
|
취미 |
|
학술 |
|
방송연예 |
|
방송프로그램 |
|
디지털 |
|
스포츠 |
|
야구팀 |
|
게임1 |
|
게임2 |
|
기타 |
|
운영 |
|
임시게시판 |
|
옵션 |
|
queue는 전공용어라 그냥 비행기가 들어가서 저장되는 저장소입니다아..
3개의 runway, 4개의 landing holding patterns, arrive queue, takeoff queue가지고 이륙,착률 조정하는거인건 알겠는데요...
시간조절하는거나 세세한 옵션이 전혀 해석이안되네요....부탁좀 드려요....
We want to simulate an airport landing and takeoff pattern.
The airport has three runways, runway 0,runway 1, and runway 2.
There are four landing holding patterns, two for each of the first two runways.
Arriving planes enter one of the holding pattern queues, where the queues are to be as close in size as possible.
When a plane enters a holding queue, it is assigned an integer identificationnumber and an integer giving the number of time units the plane can remain in the queue beforeit must land (because of low fuel level).
there is also a queue for takeoffs for each of the three runways.
Planes arriving in a takeoff queue are assigned an integer identification number.
The takeoff queues should be kept approximately the same size.
- For each time period, no more than three planes may arrive at the landing queues and no more than three planes may enter the takeoff queues. Each runway can handle one takeoff or landing at each time slot. Runway 2 is used for takeoffs except when a plane is low on fuel. During each timeperiod, planes in either landing queue whose air time has reached zero must be given priority over other landings and takeoffs. If only one plane is in this category, runway 2 is used. If there is more than one plane, then the other runways are also used.
- Use successive even(odd) integers for identification numbers of the planes arriving at takeoff (landing) queues. At each time unit assume that arriving planes are entered into queues before takeoffsor landings occur. Try to design your algorithm so that neither landing nor takeoff queues grow excessively. However, arriving planes must be placed at the ends of queues and the queues cannotbe reordered.
- Your output should label clearly what occurs during each time unit. Periodically you should also output:
- the contents of each queue
- the average takeoff waiting time
- the average landing waiting time
- the number of planes that have crashed (run out of fuel and there was no open runway) since the last time period.
죄송합니다. 댓글 작성은 회원만 가능합니다.
번호 | 제 목 | 이름 | 날짜 | 조회 | 추천 | |||||
---|---|---|---|---|---|---|---|---|---|---|
50 | 손석희 대선 [15] | 퍼렁곰탱이 | 16/12/23 21:07 | 895 | 0/12 | |||||
49 | 더킹이라는영화아시나요 [1] | 퍼렁곰탱이 | 16/12/23 10:23 | 208 | 0 | |||||
48 | 동대구역 신세계백화점+버스통합정류장 오픈!! [5] | 퍼렁곰탱이 | 16/12/12 19:27 | 268 | 2 | |||||
47 | 오유력 높은분 모십니다...랭커뽑아보죠 [13] | 퍼렁곰탱이 | 16/12/09 11:32 | 75 | 1 | |||||
46 | 상디는 빈스모크의 [1] | 퍼렁곰탱이 | 16/11/26 06:03 | 89 | 0 | |||||
▶ | (본삭금)영어능력자님들 ㅜㅜ 해석좀 부탁드립니다아아아아아ㅏㅇ | 퍼렁곰탱이 | 16/10/22 03:42 | 32 | 0 | |||||
44 | 문재인 대통령에 대하여... [28] | 퍼렁곰탱이 | 16/10/19 10:06 | 541 | 4/5 | |||||
43 | 이정현 단식을 보며 든 생각 | 퍼렁곰탱이 | 16/09/26 17:31 | 167 | 1 | |||||
42 | 노트북사려는데 추천좀해주세요ㅠㅠ | 퍼렁곰탱이 | 16/08/01 13:48 | 26 | 0 | |||||
41 | 오늘자 무도보고 광희에대하여 [22] | 퍼렁곰탱이 | 16/07/10 03:10 | 368 | 25/14 | |||||
40 | 5.18광주 민주화 운동기념 나눔 [2] | 퍼렁곰탱이 | 16/05/18 18:13 | 339 | 14 | |||||
39 | 지랄들 난리났네... [9] | 퍼렁곰탱이 | 16/04/27 20:29 | 218 | 0 | |||||
38 | 본삭금 회로이론 테부닌회로해석질문입니다 [5] | 퍼렁곰탱이 | 16/04/20 02:24 | 34 | 0 | |||||
37 | 문재인에 대하여 [49] | 퍼렁곰탱이 | 16/04/12 13:51 | 691 | 0/9 | |||||
36 | 여친이랑 거창 차없이 여행가려는데요.. [9] | 퍼렁곰탱이 | 16/02/12 19:44 | 61 | 1 | |||||
35 | 여친이 잠수중일때 당신의선택은? [7] | 퍼렁곰탱이 | 16/02/07 17:12 | 104 | 0 | |||||
34 | 본삭금. 안드로이드app 리스트 두개사용 질문입니다. [7] | 퍼렁곰탱이 | 16/01/23 20:06 | 10 | 0 | |||||
33 | 여친과 싸운후 연락시점 [8] | 퍼렁곰탱이 | 16/01/12 22:06 | 85 | 0 | |||||
32 | 본삭금...물리문제...포텐셜에너지 마지막질문이요... [13] | 퍼렁곰탱이 | 15/12/30 02:00 | 35 | 0 | |||||
31 | 본삭금 대학물리ㅠ하나만 더요 포텐셜에너지문제 [11] | 퍼렁곰탱이 | 15/12/29 23:24 | 37 | 0 | |||||
30 | 본삭금ㅠ대학물리 마찰과 등속력원운동질문입니다.. [7] | 퍼렁곰탱이 | 15/12/29 21:14 | 32 | 0 | |||||
29 | 3월에 쓴 나의 2015예언글..소름ㅋㅋ | 퍼렁곰탱이 | 15/12/10 02:03 | 194 | 1 | |||||
28 | (음란마귀)ca.sex | 퍼렁곰탱이 | 15/12/09 11:13 | 131 | 0 | |||||
27 | 여자친구클럽문제입니다... [24] | 퍼렁곰탱이 | 15/11/09 15:00 | 225 | 0 | |||||
25 | 본삭금 stack implementation질문드립니다ㅠ [1] | 퍼렁곰탱이 | 15/11/03 19:28 | 17 | 0 | |||||
24 | 여자친구가 딴남자랑 새벽까지... [25] | 퍼렁곰탱이 | 15/11/02 10:33 | 298 | 0 | |||||
22 | 여자친구가 다른남자랑 술마시는게 고민입니다. [11] | 퍼렁곰탱이 | 15/11/01 17:20 | 150 | 0 | |||||
21 | 박정희 각하.... | 퍼렁곰탱이 | 15/10/27 01:07 | 207 | 1 | |||||
|
||||||||||
[1] [2] | ||||||||||