How to Fit a Tree in a Box
Hugo A. Akitaya, Maarten L\"offler, Irene Parada

TL;DR
This paper explores optimal embedding of trees in grids, demonstrating that perfect binary trees can be efficiently embedded in square grids and establishing NP-hardness for certain upward embedding tests.
Contribution
It proves that perfect binary trees can be optimally embedded in square grids and shows NP-hardness of upward embedding testing for binary trees.
Findings
Perfect binary trees can be embedded on a √n by √n grid.
Testing upward embedding with a fixed combinatorial embedding is NP-hard.
Provides bounds and complexity results for tree embeddings.
Abstract
We study compact straight-line embeddings of trees. We show that perfect binary trees can be embedded optimally: a tree with nodes can be drawn on a by grid. We also show that testing whether a given binary tree has an upward embedding with a given combinatorial embedding in a given grid is NP-hard.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
