Enumerating Floorplans with n Rooms
Enumerating Floorplans with n Rooms
复制标题
枚举包含 n 个房间的平面图
DOI:
10.1007/3-540-45678-3_10
复制
发表时间:
2001
期刊:
影响因子:
--
通讯作者:
Shin
中科院分区:
文献类型:
--
作者:
Shin
A plane drawing of a graphis called a floorplan if every face (including the outer face) is a rectangle. A based floorplan is a floorplan with a designated base line segment on the outer face. In this paper we give a simple algorithm to generate all based floorplans with at mostnfaces. The algorithm usesO(n)space and generates such. oorplans inO(1) time per floorplan without duplications. The algorithm does not output entire floorplans but the difference from the previous floorplan. By modifying the algorithm we can generate without duplications all based floorplans having exactlynfaces inO(1) time per floorplan. Also we can generate without duplications all (non-based) floorplans having exactlynfaces inO(n) time per floorplan.