Enumeration of trees from finite number of nodes
First Claim
Patent Images
1. A method comprising:
- executing instructions on one or more processors to;
enumerate possible trees configurable from a finite number (N) of nodes greater than one, said possible trees being representative of possible answers to a query, by;
identifying N−
1 arrangements of subtree slots coupled to a root node; and
determining possible allocations of N−
1 nodes among subtree slots in arrangements of subtree slots;
for a subtree slot in a possible allocation of the N−
1 nodes, determining one or more natural numerals for possible configurations of a subtree from nodes allocated to the subtree slot;
allocating a portion of N−
1 nodes to a subtree slot in an arrangement of subtree slots;
for a subtree slot in the arrangement of subtree slots, enumerating one or more possible subtrees configurable from the portion of the N−
1 nodes allocated to the subtree slot; and
performing a push operation on the enumerated one or more possible subtrees configurable from the portion of the N−
1 nodes allocated to the subtree slot to determine one or more natural numerals, each natural numeral being associated with a corresponding one of said pushed one or more possible subtrees configurable from the portion of the N−
1 nodes allocated to the subtree slot; and
determine for the enumerated trees particular natural numerals associated with particular ones of the enumerated trees, the natural numerals associated with said particular ones of enumerated trees being based, at least in part, on an association between trees and natural numerals,wherein each of said particular natural numerals associated with particular ones of the enumerated trees is associated with exactly one of said enumerated trees.
4 Assignments
0 Petitions
Accused Products
Abstract
Embodiments of methods, apparatuses, devices and/or systems for manipulating hierarchical sets of data are disclosed.
112 Citations
16 Claims
-
1. A method comprising:
-
executing instructions on one or more processors to; enumerate possible trees configurable from a finite number (N) of nodes greater than one, said possible trees being representative of possible answers to a query, by; identifying N−
1 arrangements of subtree slots coupled to a root node; anddetermining possible allocations of N−
1 nodes among subtree slots in arrangements of subtree slots;for a subtree slot in a possible allocation of the N−
1 nodes, determining one or more natural numerals for possible configurations of a subtree from nodes allocated to the subtree slot;allocating a portion of N−
1 nodes to a subtree slot in an arrangement of subtree slots;for a subtree slot in the arrangement of subtree slots, enumerating one or more possible subtrees configurable from the portion of the N−
1 nodes allocated to the subtree slot; andperforming a push operation on the enumerated one or more possible subtrees configurable from the portion of the N−
1 nodes allocated to the subtree slot to determine one or more natural numerals, each natural numeral being associated with a corresponding one of said pushed one or more possible subtrees configurable from the portion of the N−
1 nodes allocated to the subtree slot; anddetermine for the enumerated trees particular natural numerals associated with particular ones of the enumerated trees, the natural numerals associated with said particular ones of enumerated trees being based, at least in part, on an association between trees and natural numerals, wherein each of said particular natural numerals associated with particular ones of the enumerated trees is associated with exactly one of said enumerated trees. - View Dependent Claims (2, 3, 4)
-
-
5. An apparatus comprising:
-
means comprising one or more processors for enumerating possible trees configurable from a finite number (N) of nodes greater than one, said possible trees being representative of possible answers to a query, comprising; means for identifying N−
1 arrangements of subtree slots coupled to a root node;means for determining possible allocations of N−
1 nodes among subtree slots in arrangements of subtree slots; andfor a subtree slot in a possible allocation of the N−
1 nodes, means for determining one or more natural numerals for possible configurations of a subtree from nodes allocated to the subtree slot;means for allocating a portion of N−
1 nodes to a subtree slot in an arrangement of subtree slots;means for enumerating one or more possible subtrees configurable from the portion of the N−
1 nodes allocated to the subtree slot; andmeans for performing a push operation on the enumerated one or more possible subtrees configurable from the portion of the N−
1 nodes allocated to the subtree slot to determine one or more natural numerals, each natural numeral being associated with a corresponding one of said pushed one or more possible subtrees configurable from the portion of the N−
1 nodes allocated to the subtree slot; andmeans comprising one or more processors for determining for the enumerated trees particular natural numerals associated with particular ones of the enumerated trees, the particular natural numerals being based, at least in part, on a predetermined association between trees and natural numerals, wherein each of said natural numerals associated with particular ones of the enumerated trees is associated with exactly one of said enumerated trees. - View Dependent Claims (6, 7, 8)
-
-
9. An apparatus comprising:
- one or more processors programmed with instructions to;
enumerate possible trees configurable from a finite number (N) of nodes greater than one, said possible trees being representative of possible answers to a query, by; identifying N−
1 arrangements of subtree slots coupled to a root node; anddetermining possible allocations of N−
1 nodes among subtree slots in arrangements of subtree slots;for a subtree slot in a possible allocation of the N−
1 nodes, determining one or more natural numerals for possible configurations of a subtree from nodes allocated to the subtree slot;allocating a portion of N−
1 nodes to a subtree slot in an arrangement of subtree slots;for a subtree slot in the arrangement of subtree slots, enumerating one or more possible subtrees configurable from the portion of the N−
1 nodes allocated to the subtree slot; andperforming a push operation on the enumerated one or more possible subtrees configurable from the portion of the N−
1 nodes allocated to the subtree slot to determine one or more natural numerals, each natural numeral being associated with a corresponding one of said pushed one or more possible subtrees configurable from the portion of the N−
1 nodes allocated to the subtree slot; anddetermine for the enumerated trees particular natural numerals associated with particular ones of the enumerated trees, the particular natural numerals being based, at least in part, on a predetermined association between trees and natural numerals, wherein each of said particular natural numerals associated with particular ones of the enumerated trees is associated with exactly one of said enumerated trees. - View Dependent Claims (10, 11, 12)
- one or more processors programmed with instructions to;
-
13. An article comprising:
-
a storage medium comprising machine-readable instructions stored thereon which, in response to being executed by a one or more processors, enable said one or more processors to; enumerate possible trees configurable from a finite number (N) of nodes greater than one, said possible trees being representative of possible answers to a query, by; identifying N−
1 arrangements of subtree slots coupled to a root node; anddetermining possible allocations of N−
1 nodes among subtree slots in arrangements of subtree slots;for a subtree slot in a possible allocation of the N−
1 nodes, determining one or more natural numerals for possible configurations of a subtree from nodes allocated to the subtree slot;allocating a portion of N−
1 nodes to a subtree slot in an arrangement of subtree slots;for a subtree slot in the arrangement of subtree slots, enumerating one or more possible subtrees configurable from the portion of the N−
1 nodes allocated to the subtree slot; andperforming a push operation on the enumerated one or more possible subtrees configurable from the portion of the N−
1 nodes allocated to the subtree slot to determine one or more natural numerals, each natural numeral being associated with a corresponding one of said pushed one or more possible subtrees configurable from the portion of the N−
1 nodes allocated to the subtree slot; anddetermine for the enumerated trees particular natural numerals associated with particular ones of the enumerated trees, the particular natural numerals being based, at least in part, on a predetermined association between trees and natural numerals, wherein each of said particular natural numerals associated with particular ones of the enumerated trees is associated with exactly one of said enumerated trees. - View Dependent Claims (14, 15, 16)
-
Specification