System and method for controlling updates of a data structure
First Claim
1. A method of controlling updates of a data structure, comprising:
- providing a data structure, wherein the data structure includes a hierarchically arranged set of nodes and branches, and each node has two or less branches;
recording a total number of nodes in the data structure;
determining whether to update the data structure according to one or more triggering conditions and a number of levels of nodes in the data structure;
generating a trigger to update the data structure if the number of levels of nodes in the data structure is larger than a logarithmic function of a number of nodes in the data structure;
generating an updated data structure in response to the one or more triggering conditions; and
storing the updated data structure in a memory.
6 Assignments
0 Petitions
Accused Products
Abstract
System and method for controlling updates of a data structure are disclosed. In one embodiment, the method includes providing a data structure that includes a hierarchically arranged set of nodes and branches, and each node has two or less branches, recording a total number of nodes in the data structure, determining whether to update the data structure according to one or more triggering conditions, generating an updated data structure in response to the one or more triggering conditions, and storing the updated data structure in a memory. The method of recording a total number of nodes includes incrementing a count of the total number of nodes by one when a new node is added to the data structure, and decrementing a count of the total number of nodes by one when a node is removed from the data structure.
-
Citations
21 Claims
-
1. A method of controlling updates of a data structure, comprising:
-
providing a data structure, wherein the data structure includes a hierarchically arranged set of nodes and branches, and each node has two or less branches; recording a total number of nodes in the data structure; determining whether to update the data structure according to one or more triggering conditions and a number of levels of nodes in the data structure; generating a trigger to update the data structure if the number of levels of nodes in the data structure is larger than a logarithmic function of a number of nodes in the data structure; generating an updated data structure in response to the one or more triggering conditions; and storing the updated data structure in a memory. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer program product for controlling updates of a data structure, comprising a non-transitory medium storing computer programs for execution by one or more computer systems, the computer program product comprising:
-
code for providing a data structure, wherein the data structure includes a hierarchically arranged set of nodes and branches, and each node has two or less branches; code for recording a total number of nodes in the data structure; code for determining whether to update the data structure according to one or more triggering conditions; code for counting a number of nodes visited from a root node when a new leaf node is added to the date structure; and code for generating a trigger to update the data structure if the number of nodes visited from the root node to the new leaf node exceeds a second predetermined threshold value; code for generating an updated data structure in response to the one or more triggering conditions; and code for storing the updated data structure in a memory. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A system for controlling updates of a data structure, comprising:
-
a memory for storing the data structure, wherein the data structure includes a hierarchically arranged set of nodes and branches, and each node has two or less branches; a user interface for viewing representations of the data structure on a display; at least a processor and control logic, wherein the processor and control logic further includes logic for providing the data structure; logic for recording a total number of nodes in the data structure; logic for determining whether to update the data structure according to one or more triggering conditions; logic for comparing number of levels in one branch of a node to number of levels in another branch of the node in the data structure; logic for generating a trigger to update the data structure if the number of levels in one branch of the node is two or more than the number of levels in another branch of the node; logic for generating an updated data structure in response to the one or more triggering conditions; and logic for storing the updated data structure in the memory. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification