Left-child right-sibling binary tree

http://dbpedia.org/resource/Left-child_right-sibling_binary_tree an entity of type: WikicatBinaryTrees

En informatique, un arbre « double chaîne » ou Doubly chained tree peut s'entendre de deux manières : * Au niveau technique : utilisation deux liens (pointeurs) seulement (voir les arbres dits left-child right-sibling binary tree) * Au niveau conceptuel : un ensemble de listes double chaînes organisées dans une structure hiérarchique (arbre), ce qui implique au moins l'usage d'un troisième lien pour gérer la hiérarchie. Est abordée ci-dessous la notion d'arbre double chaîne au niveau conceptuel, pour les double-chaînes techniques. rdf:langString
二重連鎖木(にじゅうれんさぎ、英: doubly chained tree)や左-子,右-兄弟表現(英: left-child, right-sibling representation)や子-兄弟表現(英: child-sibling representation)や filial-heir chain とは、多分木を、直接子ノードのポインタの集合で管理するのではなく、子ノード1つと兄弟ノード1つのポインタで管理する方法。つまり多分木を二分木に変換する。1963年に Edward H. Sussenguth が発表した。 ノード n の k 番目の子供を取得するには、以下のように行う。ノードは child と next-sibling を保持している。 procedure kth-child(n, k): child ← n.child while k ≠ 0 and child ≠ nil: child ← child.next-sibling k ← k − 1 return child // nil を返す場合もある rdf:langString
Every multi-way or k-ary tree structure studied in computer science admits a representation as a binary tree, which goes by various names including child-sibling representation, left-child, right-sibling binary tree, doubly chained tree or filial-heir chain. In a binary tree that represents a multi-way tree T, each node corresponds to a node in T and has two pointers: one to the node's first child, and one to its next sibling in T. The children of a node thus form a singly-linked list. To find a node n's k'th child, one needs to traverse this list: rdf:langString
rdf:langString Doubly chained tree
rdf:langString Left-child right-sibling binary tree
rdf:langString 二重連鎖木
xsd:integer 11261383
xsd:integer 1076479069
rdf:langString Every multi-way or k-ary tree structure studied in computer science admits a representation as a binary tree, which goes by various names including child-sibling representation, left-child, right-sibling binary tree, doubly chained tree or filial-heir chain. In a binary tree that represents a multi-way tree T, each node corresponds to a node in T and has two pointers: one to the node's first child, and one to its next sibling in T. The children of a node thus form a singly-linked list. To find a node n's k'th child, one needs to traverse this list: procedure kth-child(n, k): child ← n.child while k ≠ 0 and child ≠ nil: child ← child.next-sibling k ← k − 1 return child // may return nil The process of converting from a k-ary tree to an LC-RS binary tree is sometimes called the Knuth transform. To form a binary tree from an arbitrary k-ary tree by this method, the root of the original tree is made the root of the binary tree. Then, starting with the root, each node's leftmost child in the original tree is made its left child in the binary tree, and its nearest sibling to the right in the original tree is made its right child in the binary tree. Doubly chained trees were described by Edward H. Sussenguth in 1963. Processing a k-ary tree to LC-RS binary tree, every node is linked and aligned with the left child, and the next nearest is a sibling. For example, we have a ternary tree below: 1 /|\ / | \ / | \ 2 3 4 / \ | 5 6 7 / \ 8 9 We can re-write it by putting the left child node to one level below its parents and by putting the sibling next to the child at the same level – it will be linear (same line). 1 / / / 2---3---4 / / 5---6 7 / 8---9 We can transform this tree to a binary tree by turning each sibling 45° clockwise. 1 / 2 / \ 5 3 \ \ 6 4 / 7 / 8 \ 9
rdf:langString En informatique, un arbre « double chaîne » ou Doubly chained tree peut s'entendre de deux manières : * Au niveau technique : utilisation deux liens (pointeurs) seulement (voir les arbres dits left-child right-sibling binary tree) * Au niveau conceptuel : un ensemble de listes double chaînes organisées dans une structure hiérarchique (arbre), ce qui implique au moins l'usage d'un troisième lien pour gérer la hiérarchie. Est abordée ci-dessous la notion d'arbre double chaîne au niveau conceptuel, pour les double-chaînes techniques.
rdf:langString 二重連鎖木(にじゅうれんさぎ、英: doubly chained tree)や左-子,右-兄弟表現(英: left-child, right-sibling representation)や子-兄弟表現(英: child-sibling representation)や filial-heir chain とは、多分木を、直接子ノードのポインタの集合で管理するのではなく、子ノード1つと兄弟ノード1つのポインタで管理する方法。つまり多分木を二分木に変換する。1963年に Edward H. Sussenguth が発表した。 ノード n の k 番目の子供を取得するには、以下のように行う。ノードは child と next-sibling を保持している。 procedure kth-child(n, k): child ← n.child while k ≠ 0 and child ≠ nil: child ← child.next-sibling k ← k − 1 return child // nil を返す場合もある
xsd:nonNegativeInteger 5885

data from the linked data cloud