IEICE Transactions on Fundamentals of Electronics, Communications and Computer Sciences
Online ISSN : 1745-1337
Print ISSN : 0916-8508
Special Section on Discrete Mathematics and Its Applications
A Compact Encoding of Rectangular Drawings with Edge Lengths
Shin-ichi NAKANOKatsuhisa YAMANAKA
Author information
JOURNAL RESTRICTED ACCESS

2013 Volume E96.A Issue 6 Pages 1032-1035

Details
Abstract

A rectangular drawing is a plane drawing of a graph in which every face is a rectangle. Rectangular drawings have an application for floorplans, which may have a huge number of faces, so compact code to store the drawings is desired. The most compact code for rectangular drawings needs at most 4f-4bits, where f is the number of inner faces of the drawing. The code stores only the graph structure of rectangular drawings, so the length of each edge is not encoded. A grid rectangular drawing is a rectangular drawing in which each vertex has integer coordinates. To store grid rectangular drawings, we need to store some information for lengths or coordinates. One can store a grid rectangular drawing by the code for rectangular drawings and the width and height of each inner face. Such a code needs 4f-4+f⌈log W⌉+f⌈log H⌉+o(f)+o(W)+o(H) bits*, where W and H are the maximum width and the maximum height of inner faces, respectively. In this paper we design a simple and compact code for grid rectangular drawings. The code needs 4f-4+(f+1)⌈log L⌉+o(f)+o(L) bits for each grid rectangular drawing, where L is the maximum length of edges in the drawing. Note that L ≤ max {W,H} holds. Our encoding and decoding algorithms run in O(f) time.

Content from these authors
© 2013 The Institute of Electronics, Information and Communication Engineers
Previous article Next article
feedback
Top