Parent node
نۆدی باوک
Proposed Kurdish term — under reviewزاراوەی پێشنیارکراو — لە ژێر پێداچوونەوەدایە Definitionپێناسە
The node directly above another node in a tree. Search code keeps a link to it, so the path can be rebuilt by following the parents back to the start.
ئەو کە ڕاستەوخۆ لە سەرووی نۆدێکی ترەوەیە لە . کۆدی گەڕان بەستەرێکی بۆی هەڵدەگرێت، بۆیە دەکرێت بە شوێنکەوتنی باوکەکان تا خاڵی سەرەتا دووبارە دروست بکرێتەوە.
Exampleنموونە
Following the parent links back from the goal and reversing the list gives the path from the start to the goal.
شوێنکەوتنی بەستەرەکانی باوک لە ئامانجەوە بۆ دواوە و پێچەوانەکردنەوەی لیستەکە، ڕێگا لە سەرەتاوە بۆ ئامانج دەدات.
path = []
while cell is not None:
path.append(cell)
cell = parent[cell]
path.reverse()Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر
نۆدی دایک، نۆدی باوکەکە، نۆدەکانی باوک، نۆدێکی باوک، نۆدی باوکی، نۆدەکانی باوکی، نۆدێکی باوکی
Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە
باوک (father), as Kurdish and Arabic computing texts name the parent node. Proposed.
Related termsزاراوە پەیوەندیدارەکان
Videosڤیدیۆکان
Learn more inزیاتر فێربە لە
- Depth-First and Breadth-First Searchگەڕانی قووڵایی و گەڕانی پانایی
- Solving a Maze with DFS and BFSچارەسەرکردنی لابیرینت بە DFS و BFS
- Stateless and Stateful Widgetsویجێتە بێدۆخەکان و ویجێتە دۆخدارەکان
- Layout Widgets: One Child or Manyویجێتەکانی ڕێکخستنی ڕووکار: یەک نۆدی منداڵ یان چەند دانەیەک
- Widgets and the Widget Treeویجێتەکان و داری ویجێتەکان
- Main-Axis and Cross-Axis Alignmentڕێکخستنی شوێن لەسەر تەوەرەی سەرەکی و تەوەرەی ئاوەڵ
- Row and ColumnRow و Column
- Getting Data from the Internet: HTTP and JSONوەرگرتنی دراوە لە ئینتەرنێت: HTTP و JSON
- State Management with Providerبەڕێوەبردنی دۆخ بە Provider
- Priority Queues and Heapsکیووە پێشینەییەکان و هیپەکان
- Search Problems: States, Actions, Goals and Costsکێشەکانی گەڕان: دۆخەکان، کردەوەکان، ئامانج و کۆست
- A* Searchگەڕانی A*