{"title":"有序树的面积高效保序平面直线绘制","authors":"Ashim Garg, A. Rusu","doi":"10.1142/S021819590300130X","DOIUrl":null,"url":null,"abstract":"Ordered trees are generally drawn using order-preserving planar straight-line grid drawings. We therefore investigate the area-requirements of such drawings, and present several results: Let T be an ordered tree with n nodes. Then: - T admits an order-preserving planar straight-line grid drawing with O(n log n) area. - If T is a binary tree, then T admits an order-preserving planar straight-line grid drawing with O(n log log n) area. - If T is a binary tree, then T admits an order-preserving upward planar straight-line grid drawing with optimal O(n log n) area. \n \nWe also study the problem of drawing binary trees with user-specified arbitrary aspect ratios. We show that an ordered binary tree T with n nodes admits an order-preserving planar straight-line grid drawing Γ with width O(A + log n), height O((n/A) log A), and area O((A + log n)(n/A) log A) = O(n log n), where 2 ≤ A ≤ n is any user-specified number. Also note that all the drawings mentioned above can be constructed in O(n) time.","PeriodicalId":285210,"journal":{"name":"International Journal of Computational Geometry and Applications","volume":"16 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2003-07-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"29","resultStr":"{\"title\":\"Area-Efficient Order-Preserving Planar Straight-Line Drawings of Ordered Trees\",\"authors\":\"Ashim Garg, A. Rusu\",\"doi\":\"10.1142/S021819590300130X\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Ordered trees are generally drawn using order-preserving planar straight-line grid drawings. We therefore investigate the area-requirements of such drawings, and present several results: Let T be an ordered tree with n nodes. Then: - T admits an order-preserving planar straight-line grid drawing with O(n log n) area. - If T is a binary tree, then T admits an order-preserving planar straight-line grid drawing with O(n log log n) area. - If T is a binary tree, then T admits an order-preserving upward planar straight-line grid drawing with optimal O(n log n) area. \\n \\nWe also study the problem of drawing binary trees with user-specified arbitrary aspect ratios. We show that an ordered binary tree T with n nodes admits an order-preserving planar straight-line grid drawing Γ with width O(A + log n), height O((n/A) log A), and area O((A + log n)(n/A) log A) = O(n log n), where 2 ≤ A ≤ n is any user-specified number. Also note that all the drawings mentioned above can be constructed in O(n) time.\",\"PeriodicalId\":285210,\"journal\":{\"name\":\"International Journal of Computational Geometry and Applications\",\"volume\":\"16 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2003-07-25\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"29\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"International Journal of Computational Geometry and Applications\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1142/S021819590300130X\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of Computational Geometry and Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1142/S021819590300130X","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Area-Efficient Order-Preserving Planar Straight-Line Drawings of Ordered Trees
Ordered trees are generally drawn using order-preserving planar straight-line grid drawings. We therefore investigate the area-requirements of such drawings, and present several results: Let T be an ordered tree with n nodes. Then: - T admits an order-preserving planar straight-line grid drawing with O(n log n) area. - If T is a binary tree, then T admits an order-preserving planar straight-line grid drawing with O(n log log n) area. - If T is a binary tree, then T admits an order-preserving upward planar straight-line grid drawing with optimal O(n log n) area.
We also study the problem of drawing binary trees with user-specified arbitrary aspect ratios. We show that an ordered binary tree T with n nodes admits an order-preserving planar straight-line grid drawing Γ with width O(A + log n), height O((n/A) log A), and area O((A + log n)(n/A) log A) = O(n log n), where 2 ≤ A ≤ n is any user-specified number. Also note that all the drawings mentioned above can be constructed in O(n) time.