发明名称 |
Method for encoding, traversing, manipulating and querying a tree |
摘要 |
Embodiments of the invention include a method for encoding a tree. The method includes receiving an input tree of many nodes organized in a parent-child hierarchy with parent nodes being coupled to one or more child nodes. A node ID is assigned to each of the nodes of the input tree. A representation between each parent node and child node associated with the parent node can be generated and a tree code can be computed from prime numbers in the natural sequence of numbers and the assigned node Ids. Finally, the tree code representative of the input tree is stored.
|
申请公布号 |
US7827219(B2) |
申请公布日期 |
2010.11.02 |
申请号 |
US20080039827 |
申请日期 |
2008.02.29 |
申请人 |
INTERNATIONAL BUSINESS MACHINES CORPORATION |
发明人 |
CHOWDHURY SANDEEP |
分类号 |
G06F12/00;G06F17/30 |
主分类号 |
G06F12/00 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|