词条 | (a,b)-tree |
释义 |
In computer science, an (a,b) tree is a kind of balanced search tree. An (a,b)-tree has all of its leaves at the same depth, and all internal nodes except for the root have between {{mvar|a}} and {{mvar|b}} children, where {{mvar|a}} and {{mvar|b}} are integers such that {{math|2 ≤ a ≤ (b+1)/2}}. The root has, if it is not a leaf, between 2 and {{mvar|b}} children. DefinitionLet {{mvar|a}}, {{mvar|b}} be positive integers such that {{math|2 ≤ a ≤ (b+1)/2}}. Then a rooted tree {{mvar|T}} is an (a,b)-tree when:
Internal node representationEvery internal node {{mvar|v}} of a (a,b)-tree {{mvar|T}} has the following representation:
See also
References
1 : Search trees |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。