https://de.wikipedia.org/w/api.php?action=feedcontributions&feedformat=atom&user=CacadrilWikipedia - Benutzerbeiträge [de]2025-05-18T07:07:31ZBenutzerbeiträgeMediaWiki 1.45.0-wmf.1https://de.wikipedia.org/w/index.php?title=(a,_b)-Baum&diff=143299030(a, b)-Baum2009-02-22T19:42:33Z<p>Cacadril: Increased language precision. Correct factual error, a tree can be empty in which case the root has no children.</p>
<hr />
<div>In [[computer science]], an '''(a,b) tree''' is a specific kind of [[Tree traversal|search tree]]. <br />
<br />
An (a,b) tree has all of its [[leaf node|leaves]] at the same depth, and all internal [[Node (computer science)|nodes]] have between <math>a</math> and <math>b</math> [[Child node|children]], where <math>a</math> and <math>b</math> are integers such that <math>2 \le a \le (b+1)/2</math>. The root may have as few as zero children.<br />
<br />
== Definition ==<br />
Let <math>a, b \in N</math> such that <math>a \leq b</math>. Then tree a tree ''T'' is an '''(a,b) tree''' when:<br />
* Every inner node except the root has at least <math>a</math> and maximally <math>b</math> child nodes.<br />
* Root has maximally <math>b</math> child nodes.<br />
* All paths from the root to the leaves are of the same length.<br />
<br />
== Inner node representation ==<br />
Every inner node <math>v</math> has the following representation:<br />
* Let <math>\rho_v</math> be the number of child nodes of node v.<br />
* Let <math>S_v[1 \dots \rho_v]</math> be pointers to child nodes.<br />
* Let <math>H_v[1 \dots \rho_v - 1]</math> be an array of keys such that <math>H_v[i]</math> equals the largest key in the subtree pointed to by <math>S_v[i]</math>.<br />
<br />
==See also==<br />
*[[B-tree]]<br />
<br />
==References==<br />
* {{DADS|(a,b)-tree|abtree}}<br />
<br />
[[Category:Trees (structure)|A,b tree]]<br />
<br />
{{datastructure-stub}}<br />
<br />
[[cs:(a,b)-strom]]</div>Cacadril