由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - 问个OO题
相关主题
请教一个系统设计问题又愿意做练习题的吗?
座席优化座位优化
重新贴一次goodbug的要求问个flex的问题
老魏,你的message queue的概念是十年前j2ee的概念c++里面有什么Container插入是最快的?
拿Cassandra当MQ用,证明你连Cassandra也不懂总结贴
求一个简单的UML类图说的再清楚一点: 抢票机性能只和中途停靠总站数相关
一道关于数据结构的面试题 (转载)拿C*当message queue用,不知道哪里面试能通过
请教如何初始化这个C data structure Steque的object?再来问问tensorflow的问题
相关话题的讨论汇总
话题: ac话题: aircraft话题: system话题: type话题: queue
进入Programming版参与讨论
1 (共1页)
v*******a
发帖数: 14
1
A software subsystem of an air-traffic control system is defined to manage a
queue of aircraft (AC) in an airport. The aircraft queue is managed by a
process which responds to three types of requests:
system boot used to start the system.
enqueue aircraft used to insert a new AC into the system.
dequeue aircraft used to remove an AC from the system.
AC’s have at least (but are not limited to having) the following properties:
AC type: Passenger or Cargo
AC size: Small or Large
The process which manages the queue of AC’s satisfies the following:
There is no limit on the number of AC’s it can manage
Dequeue aircraft requests result in selection of one AC for removal such
that:
Passenger AC’s have removal precedence over Cargo AC’s
Large AC’s of a given type have removal precedence over Small AC’s of the
same type.
Earlier enqueued AC’s of a given type and size have precedence over later
enqueued AC’s of the same type and size.
v*******a
发帖数: 14
2
用priority queue可行吗?key取4个值?
system boot used to start the system 是指ctor或initializeQueue
这样的函数吗?
要是用heap实现priority queue, 就要使用数组,那怎么满足
There is no limit on the number of AC’s it can manage
的要求呀?
谢谢!

a
properties:

【在 v*******a 的大作中提到】
: A software subsystem of an air-traffic control system is defined to manage a
: queue of aircraft (AC) in an airport. The aircraft queue is managed by a
: process which responds to three types of requests:
: system boot used to start the system.
: enqueue aircraft used to insert a new AC into the system.
: dequeue aircraft used to remove an AC from the system.
: AC’s have at least (but are not limited to having) the following properties:
: AC type: Passenger or Cargo
: AC size: Small or Large
: The process which manages the queue of AC’s satisfies the following:

a****l
发帖数: 8211
3
"There is no limit on the number of AC’s it can manage"? 告诉出题的人去死吧。

a
properties:

【在 v*******a 的大作中提到】
: A software subsystem of an air-traffic control system is defined to manage a
: queue of aircraft (AC) in an airport. The aircraft queue is managed by a
: process which responds to three types of requests:
: system boot used to start the system.
: enqueue aircraft used to insert a new AC into the system.
: dequeue aircraft used to remove an AC from the system.
: AC’s have at least (but are not limited to having) the following properties:
: AC type: Passenger or Cargo
: AC size: Small or Large
: The process which manages the queue of AC’s satisfies the following:

1 (共1页)
进入Programming版参与讨论
相关主题
再来问问tensorflow的问题拿Cassandra当MQ用,证明你连Cassandra也不懂
g++跟cl差的也太大了求一个简单的UML类图
类似vc问题:在Debug版本成功;在Release版本link失败一道关于数据结构的面试题 (转载)
btw, MS C++ 是ECMA-372标准请教如何初始化这个C data structure Steque的object?
请教一个系统设计问题又愿意做练习题的吗?
座席优化座位优化
重新贴一次goodbug的要求问个flex的问题
老魏,你的message queue的概念是十年前j2ee的概念c++里面有什么Container插入是最快的?
相关话题的讨论汇总
话题: ac话题: aircraft话题: system话题: type话题: queue