翻訳と辞書
Words near each other
・ Beansheaf Farm
・ BeanShell
・ Beanstalk (disambiguation)
・ Beanstalk Bunny
・ Beanstalk International Bilingual School
・ Beant Singh
・ Beant Singh (assassin)
・ Beant Singh (chief minister)
・ Beantake
・ Beanthwaite
・ Beantown Swing Orchestra
・ Beanville, Michigan
・ Beany and Cecil
・ Beany Jacobson
・ BeAnywhere
Beap
・ Beapombo I
・ Beapombo II
・ Bear
・ Bear (2010 film)
・ Bear (2011 film)
・ Bear (barony)
・ Bear (comics)
・ Bear (disambiguation)
・ Bear (gay culture)
・ Bear (nickname)
・ Bear (novel)
・ Bear (song)
・ Bear (surname)
・ Bear 100 Mile Endurance Run


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Beap : ウィキペディア英語版
Beap
Beap, or bi-parental heap, is a data structure where a node usually has two parents (unless it is the first or last on a level) and two children (unless it is on the last level). Unlike a heap, a beap allows sublinear search. The beap was introduced by Ian Munro and Hendra Suwanda. A related data structure is the Young tableau.
==Performance==

The height of the structure is approximately \sqrt. Also, assuming the last level is full, the number of elements on that level is also \sqrt. In fact, because of these properties all basic operations (insert, remove, find) run in O(\sqrt) time on average. Find operations in the heap can be O(n) in the worst case. Removal and insertion of new elements involves propagation of elements up or down (much like in a heap) in order to restore the beap invariant. An additional perk is that beap provides constant time access to the smallest element and O(\sqrt) time for the maximum element.
Actually, a O(\sqrt) find operation can be implemented if parent pointers at each node are maintained. You would start at the absolute bottom-most element of the top node (similar to the left-most child in a heap) and move either up or right to find the element of interest.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Beap」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.