Method and system for compressing a tree
Abstract
A method and system for compressing a tree with a plurality of nodes that each may be associated with a node identifier and a parent node identifier. The method may comprise for each node in the tree determining whether the current node is to be deleted, if the current node is to be deleted updating a list of deleted nodes such that the node identifier of the current node may be stored; a parameter representing a number of nodes currently having been deleted from the tree may be stored, such that the parameter is associated with the node identifier of the current node, and updating the node identifier and the parent node identifier of the current node as a function of the list of deleted nodes. Each node in the tree is visited only once.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 14.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A non-transitory machine-readable medium storing instructions adapted to be executed by a computer to perform a method for compressing a tree, the method comprising: a. setting a current node pointing to a root node of the tree; b. if a rule associates with the node identifier of the current node, applying the rule; c. if a node is to be deleted by applying the rule: deleting the node from the tree; storing the node identifier of the deleted node; and storing a parameter associated with the stored node identifier, the parameter representing a cumulative number for of nodes currently having bee
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (14 of 14 total)
References Cited — Backward Prior Art (17)
Non-Patent Literature (3)
- Edward R. Fiala and Daniel H. Greene, Data Compression with Finite Windows, Apr. 1989 vol. 32 No. 4, Communications of ACM.
- Jyrki Katajainene and Erkki Makinen, Three Compression and Optimization with Applications, Oct. 20, 1989 vol. 1 No. 4 (1990) pp. 425-447, International Journal of Foundations of Computer Science.
- Quentin F. Stoute and Bette L. Warren, Tree Rebalancing in Optimal Time and Space, Sep. 1986 vol. 29 No. 9, Communications of the ACM.