1. Glossaryفەرهەنگی زاراوەکان
Priority queue
کیووی پێشینەیی
Proposed Kurdish term — under reviewزاراوەی پێشنیارکراو — لە ژێر پێداچوونەوەدایە

Definitionپێناسە

A queue in which every item has a priority, and the item with the best (usually lowest) priority value always comes out first. Greedy best-first search and A* use one.

کە هەر دانەیەکی پێشینەییەکی هەیە و هەمیشە ئەو دانەیەی باشترین (زۆرجار کەمترین) نرخی پێشینەیی هەیە یەکەم جار دەردەچێت. و بەکاری دەهێنن.

Exampleنموونە

heapq turns a list into a priority queue: the tuple with the smallest first number comes out first.

heapq دەکات بە : ئەو کەمترین ژمارەی یەکەمی هەیە یەکەم جار دەردەچێت.

import heapq
pq = []
heapq.heappush(pq, (17, 0, (6, 0)))
heapq.heappush(pq, (16, 1, (6, 1)))
print(heapq.heappop(pq))  # (16, 1, (6, 1))

Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر

کیووە پێشینەییەکە، کیووە پێشینەییەکان، کیوویەکی پێشینەیی، کیووە پێشینەییەکانی

Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە

Built on S2's کیوو and the registry's پێشینەیی (precedence, operator-precedence). Proposed.

Related termsزاراوە پەیوەندیدارەکان

Videosڤیدیۆکان

Heaps, heapsort, and priority queues - Inside codeInside code · Englishئینگلیزی · 157K viewsبینین · 4K likesلایک · Partبەشی 17:04–19:00 (ofلە 19:00)

Learn more inزیاتر فێربە لە