双端队列是一个限定插入和删除操作的数据结构,具有队列和栈的性质。
n. deque
misc. double-end queue
...t可以很好地充当stack,但是充当queue则性能很差,函数bfs中使用的是collections模块中的deque,即双端队列(double-ended queue),它一般是使用链表来实现的,这个类有extend、append和pop等方法都是作用于队列右端的,而方法extendleft、appendleft和popleft...
基于2634个网页-相关网页
在一个实施例中,配置关键字被填充到存储器内配置树中,作为双端队列(deque)的节点。双端队列(double-ended queue)是结合了队列和堆栈的属性的数据结构。
基于1032个网页-相关网页
... 双磁盘驱动器 double disk unit 双端队列 double end queue 双入口卡片 double entry card ...
基于14个网页-相关网页
·2,447,543篇论文数据,部分数据来源于NoteExpress
有了 STL/CLI 后,您可以通过 STL 实现您喜欢的所有内容,包括矢量、列表、双端队列、映射、集合以及哈希映射和集合。
With STL/CLI, you get implementations of all your favorites from STL, including vectors, lists, deques, maps, sets, and hash maps and sets.
所有情况下使用的队列其实是一种双队列(deque)(两端都能输入数据的数据行列,发音为“deck”),它允许线程从另一个队列的后端窃取工作,从而平衡进入线程池的工作。
The queue used in each case is actually a deque (a double-ended queue, pronounced "deck"), which allows threads to steal work from the back end of another queue, balancing work entering the pool.
应用推荐