درخت ریشهدار
From Wikipedia, the free encyclopedia
From Wikipedia, the free encyclopedia
در نظریهٔ گراف، یک درخت ریشهدار (به انگلیسی: rooted tree) به درختی گفته میشود که یک رأس در آن به عنوان ریشه برچسب خورده باشد. درخت ریشهدار یک ساختار داده کلیدی در علوم کامپیوتر است.
رأسهایی که به طور مستقیم به رأس دیگری متصل اند بچههای آن نامیده میشوند. مثلاً در شکل بالا و بچههای هستند و پدر آنهاست. همچنین اگر یک رأس بچهای نداشته باشند به آن برگ میگویند.(مانند گره )
چند نمونه از درخت ریشهدار: درخت جستجوی دودویی، درخت قرمز و سیاه، درخت مبنایی
تعداد درختهای ریشه دار با رأس بر اساس دنباله روبرو است: ۱, ۱, ۲, ۴, ۹, ۲۰, ۴۸, ۱۱۵, ۲۸۶, ۷۱۹, ۱۸۴۲, ۴۷۶۶,...[1]
فایل سیستمها درختهای ریشه دار هستند. برای نمونه درایو شکست در تجزیه (پاسخ نامعتبر MathML همراه SVG یا PNG جایگزین (توصیه شده برای مرورگرهای مدرن و ابزارهای کمکی) ("Math extension cannot connect to Restbase.") از سرور "http://localhost:6011/fa.wikipedia.org/v1/":): {\displaystyle C } در کامپیوتر یک ریشه است. در این درخت ریشه دار فایلها و پوشهها رأسها هستند. این رأسها توسط لینکهایی در هارد مشخص میشوند.
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.