๐ฎ
๐ฎ
The Ethereal
Generation, Ranking and Unranking of Ordered Trees with Degree Bounds
March 03, 2016 ยท The Ethereal ยท ๐ DCM
"No code URL or promise found in abstract"
Evidence collected by the PWNC Scanner
Authors
Mahdi Amani, Abbas Nowzari-Dalini
arXiv ID
1603.00977
Category
cs.CC: Computational Complexity
Cross-listed
cs.DM,
cs.DS
Citations
4
Venue
DCM
Last Checked
2 months ago
Abstract
We study the problem of generating, ranking and unranking of unlabeled ordered trees whose nodes have maximum degree of $ฮ$. This class of trees represents a generalization of chemical trees. A chemical tree is an unlabeled tree in which no node has degree greater than 4. By allowing up to $ฮ$ children for each node of chemical tree instead of 4, we will have a generalization of chemical trees. Here, we introduce a new encoding over an alphabet of size 4 for representing unlabeled ordered trees with maximum degree of $ฮ$. We use this encoding for generating these trees in A-order with constant average time and O(n) worst case time. Due to the given encoding, with a precomputation of size and time O(n^2) (assuming $ฮ$ is constant), both ranking and unranking algorithms are also designed taking O(n) and O(nlogn) time complexities.
Community Contributions
Found the code? Know the venue? Think something is wrong? Let us know!
๐ Similar Papers
In the same crypt โ Computational Complexity
๐ฎ
๐ฎ
The Ethereal
An Exponential Separation Between Randomized and Deterministic Complexity in the LOCAL Model
๐ฎ
๐ฎ
The Ethereal
The Parallelism Tradeoff: Limitations of Log-Precision Transformers
๐ฎ
๐ฎ
The Ethereal
The Hardness of Approximation of Euclidean k-means
๐ฎ
๐ฎ
The Ethereal
Slightly Superexponential Parameterized Problems
๐ฎ
๐ฎ
The Ethereal