<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.scipedia.com/wd/index.php?action=history&amp;feed=atom&amp;title=Shekhawat_2014a</id>
		<title>Shekhawat 2014a - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://www.scipedia.com/wd/index.php?action=history&amp;feed=atom&amp;title=Shekhawat_2014a"/>
		<link rel="alternate" type="text/html" href="https://www.scipedia.com/wd/index.php?title=Shekhawat_2014a&amp;action=history"/>
		<updated>2026-05-12T16:55:36Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.27.0-wmf.10</generator>

	<entry>
		<id>https://www.scipedia.com/wd/index.php?title=Shekhawat_2014a&amp;diff=46959&amp;oldid=prev</id>
		<title>Scipediacontent: Scipediacontent moved page Draft Content 318040046 to Shekhawat 2014a</title>
		<link rel="alternate" type="text/html" href="https://www.scipedia.com/wd/index.php?title=Shekhawat_2014a&amp;diff=46959&amp;oldid=prev"/>
				<updated>2017-05-12T10:29:20Z</updated>
		
		<summary type="html">&lt;p&gt;Scipediacontent moved page &lt;a href=&quot;/public/Draft_Content_318040046&quot; class=&quot;mw-redirect&quot; title=&quot;Draft Content 318040046&quot;&gt;Draft Content 318040046&lt;/a&gt; to &lt;a href=&quot;/public/Shekhawat_2014a&quot; title=&quot;Shekhawat 2014a&quot;&gt;Shekhawat 2014a&lt;/a&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 10:29, 12 May 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='en'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Scipediacontent</name></author>	</entry>

	<entry>
		<id>https://www.scipedia.com/wd/index.php?title=Shekhawat_2014a&amp;diff=46797&amp;oldid=prev</id>
		<title>Scipediacontent: Created page with &quot;  ==Abstract==  In most applications, such as urbanism and architecture, randomly utilizing given spaces is certainly not favorable. This study proposes an explicit algorithm...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.scipedia.com/wd/index.php?title=Shekhawat_2014a&amp;diff=46797&amp;oldid=prev"/>
				<updated>2017-05-12T10:25:42Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;  ==Abstract==  In most applications, such as urbanism and architecture, randomly utilizing given spaces is certainly not favorable. This study proposes an explicit algorithm...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
==Abstract==&lt;br /&gt;
&lt;br /&gt;
In most applications, such as urbanism and architecture, randomly utilizing given spaces is certainly not favorable. This study proposes an explicit algorithm for utilizing the given spaces inside a rectangle with satisfactory results. In the literature, connectivity is not considered as a criterion for floor plan design, but it is deemed essential in architecture. For example, dining rooms are preferably connected to kitchens, toilets should be connected to many rooms, and each bedroom should be separated from the other rooms. This paper describes adjacency among spaces and proves that the obtained rectangular floor plan is one of the best ones in terms of connectivity. An architectural and mathematical object called extra spaces is introduced by the proposed algorithm and is subsequently examined in this work.&lt;br /&gt;
&lt;br /&gt;
==Keywords==&lt;br /&gt;
&lt;br /&gt;
Floor plan ; Extra space ; Algorithm ; Adjacency&lt;br /&gt;
&lt;br /&gt;
==1. Introduction==&lt;br /&gt;
&lt;br /&gt;
The floor plan is the most fundamental architectural diagram. Similar to a map, it is an aerial view of the arrangement of spaces in a building but with focus on the arrangement at a particular level (floor). In architectural terms, an arrangement has two basic elements. The first element is geometry (position). The position of spaces is always considered when organizing them. Examples of geometric arrangements are furniture organized in the most functional way, the famous Rubik׳s Cube, and the arrangement of squares in the golden rectangle. The second essential element is the topology (similarity) of spaces. Elements with similar shapes, reactions, functions, and orientations or directions are often grouped together. For example, noble gases in the periodic table are arranged based on the chemical properties they share. In designing a house, architects place the dining room and kitchen close together. In the context of the present study, a floor plan is an aerial view of the arrangement of spaces and extra spaces (waste spaces) in a building.&lt;br /&gt;
&lt;br /&gt;
Given spaces as well as extra spaces are important in a floor plan. For example, houses require extra spaces, such as storerooms and balconies. Therefore, the problem addressed in this study is establishing a way to arrange a finite collection of rectangular spaces of various sizes inside a rectangular frame in an optimal manner as well as introducing necessary additional space for filling given certain geometric or topological constraints.&lt;br /&gt;
&lt;br /&gt;
The rectangular frame in the aforementioned problem is referred to as a rectangular floor plan denoted by &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R^F&amp;lt;/math&amp;gt; . The given spaces represent the different elements of a building, e.g., rooms, offices, kitchens, bathrooms, and toilets.      &lt;br /&gt;
&lt;br /&gt;
An algorithm is a step-by-step procedure or formula that is used to solve a problem. The literature describes several algorithms for constructing floor plans. [[#bib2|Galle (1981)]]  proposed an algorithm for generating rectangular plans on modular grids to provide a large number of possible solutions. [[#bib4|Lai (1988)]]  used graph theory for floor plan design in a study where the rectangular dualization problem was reduced to a matching problem on bipartite graphs. The dual graph of a plane graph ''G''  has a vertex corresponding to each face of ''G''  and an edge joining two neighboring faces for each edge in ''G'' . A plane graph can be embedded in the plane, i.e., it can be drawn in such a way that no edges cross each other. A plane graph is termed rectangular if each of its edges is oriented in either the horizontal or the vertical direction, each of its regions has exactly four sides, and the whole graph can fit a rectangular enclosure. A bipartite graph is a graph whose vertices can be divided into two independent sets, ''A''  and ''B'' , such that every edge (''a'' , ''b'' ) connects either a vertex from ''A''  to ''B''  or a vertex from ''B''  to ''A'' .  [[#bib8|Stiny (2013)]]  proposed the construction of floor plans using shape grammar. Shape grammar is a procedure for generating different geometric shapes. [[#bib10|Terzidis (2007–08)]]  developed a computer program called autoPLAN that generates architectural plans for the boundary and adjacency matrix of a given site.      &lt;br /&gt;
&lt;br /&gt;
Since ancient times, architectural forms composed of mathematical and geometrical relationships have generated great interest ([[#bib1|Dabbour, 2012]] ). In the present study, we propose an algorithm for the construction of a rectangular floor plan and use mathematical tools to prove that the obtained floor plan is optimally connected.      &lt;br /&gt;
&lt;br /&gt;
==2. Constructing a rectangular floor plan==&lt;br /&gt;
&lt;br /&gt;
In this section, we provide an algorithm for constructing a rectangular floor plan called the spiral-based rectangular floor plan, which is denoted by &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F&amp;lt;/math&amp;gt; . A &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F&amp;lt;/math&amp;gt;  with ''n  ''  given spaces is termed as &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F&amp;lt;/math&amp;gt;  of order ''n  ''  and is denoted by &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(n)&amp;lt;/math&amp;gt; .      &lt;br /&gt;
&lt;br /&gt;
===2.1. Spiral-based sequence===&lt;br /&gt;
&lt;br /&gt;
The golden ratio, one of the keystones of sacred geometry, is related to the Fibonacci sequence, which is a numerical series where the next number is the sum of the previous two numbers ([[#bib1|Dabbour, 2012]] ). We use the Fibonacci sequence to obtain a “spiral-based sequence” that calculates the width and height of a spiral-based rectangular floor plan. Using this sequence, the width and height of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F&amp;lt;/math&amp;gt;  are calculated as follows:&lt;br /&gt;
* For odd ''i  '' , i.e., after drawing the 1st, 3rd, … spaces, the width of the obtained rectangular floor plan &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(i)&amp;lt;/math&amp;gt;  is the sum of the widths of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(i-1)&amp;lt;/math&amp;gt;  and the ''i'' th space ''R''&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt; , and the height of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(i)&amp;lt;/math&amp;gt;  is the sum of the maximum heights of ''R''&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt;  and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(i-1)&amp;lt;/math&amp;gt; .                          &lt;br /&gt;
* For even ''i  '' , i.e., after drawing the 2nd, 4th, … spaces, the width of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(i)&amp;lt;/math&amp;gt;  is the sum of the maximum widths of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(i-1)&amp;lt;/math&amp;gt;  and ''R''&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt; , and the height of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(i)&amp;lt;/math&amp;gt;  is the sum of the heights of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(i-1)&amp;lt;/math&amp;gt;  and ''R''&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt; .                  &lt;br /&gt;
&lt;br /&gt;
If ''l''&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt;  and ''h''&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt;  are the width and height, respectively, of ''R''&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt;  and if ''L''&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt;  and ''H''&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt;  are the width and height, respectively, of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(i)&amp;lt;/math&amp;gt; , then the spiral-based sequence is given numerically as follows:&lt;br /&gt;
* For ''i'' =1, 3, 5,…,&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;formulaSCP&amp;quot; style=&amp;quot;width: 100%; text-align: center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
{| style=&amp;quot;text-align: center; margin:auto;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;L_i=L_{i-1}+l_i,H_i=\quad max(H_{i-1},h_i).&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
| style=&amp;quot;width: 5px;text-align: right;white-space: nowrap;&amp;quot; | &lt;br /&gt;
|}&lt;br /&gt;
* For ''i'' =2, 4, 6,…,&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;formulaSCP&amp;quot; style=&amp;quot;width: 100%; text-align: center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
{| style=&amp;quot;text-align: center; margin:auto;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;L_i=\quad max(L_{i-1},l_i),H_i=H_{i-1}+h_i.&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
| style=&amp;quot;width: 5px;text-align: right;white-space: nowrap;&amp;quot; | &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Here, ''L''&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt; =0, and ''H''&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt; =0.      &lt;br /&gt;
&lt;br /&gt;
The concept of a spiral-based sequence is shown in [[#f0005|Figure 1]] , where the shaded rectangles represent the extra spaces, and the white rectangles represent the given spaces.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id='f0005'&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align: center; border: 1px solid #BBB; margin: 1em auto; max-width: 100%;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:draft_Content_318040046-1-s2.0-S2095263514000375-gr1.jpg|center|376px|Calculating the width and height of a rectangular floor plan.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;text-align: center; font-size: 75%;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1.&lt;br /&gt;
&lt;br /&gt;
Calculating the width and height of a rectangular floor plan.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In [[#f0005|Figure 1]] (a), ''i'' =2. Therefore, we compute ''L''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;  and ''H''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; . Here, &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;L_2=\quad max(L_1,l_2)=\quad max(l_1,l_2)=l_2&amp;lt;/math&amp;gt; , and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;H_2=H_1+h_2=h_1+h_2&amp;lt;/math&amp;gt; .      &lt;br /&gt;
&lt;br /&gt;
In [[#f0005|Figure 1]] (b), a new space is added to the obtained &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R^F(2)&amp;lt;/math&amp;gt; . Hence, ''i'' =3, ''L''&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt; =''L''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; +''l''&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt; =''l''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; +''l''&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt; , and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;H_3=\quad max(H_2,h_3)=\quad max(h_1+h_2,h_3)=h_1+&amp;lt;/math&amp;gt;&amp;lt;math&amp;gt;h_2&amp;lt;/math&amp;gt; .      &lt;br /&gt;
&lt;br /&gt;
In [[#f0005|Figure 1]] (c), ''i  '' =4, &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;L_4=\quad max(L_3,l_4)=\quad max(l_2+l_3,l_4)=l_4&amp;lt;/math&amp;gt; , and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;H_4=H_3+h_4=h_1+h_2+h_4&amp;lt;/math&amp;gt; .      &lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id='s0020'&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
===2.2. Spiral-based algorithm for obtaining a rectangular floor plan===&lt;br /&gt;
&lt;br /&gt;
In this algorithm, we draw the given spaces one by one. If the composition of the drawn spaces is rectangular with width ''L''&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt;  and height ''H''&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt;  after drawing each space ''R''&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt; , then we draw the next space. Otherwise, we draw an extra space to obtain a rectangular composition &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(i)&amp;lt;/math&amp;gt;  with width ''L''&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt;  and height ''H''&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt; .      &lt;br /&gt;
&lt;br /&gt;
Here, we consider three kinds of rectangles. Each type of rectangle is determined by its position, which in turn is determined by the upper left vertex. The size of the rectangle is determined by its width and height.&lt;br /&gt;
&lt;br /&gt;
The first kind of rectangle is the new space ''R''&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt;  drawn at Stage ''i  ''  of the construction process and whose position and size are denoted by &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;(x_i,y_i)&amp;lt;/math&amp;gt;  and the given pair &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;(l_i,h_i)&amp;lt;/math&amp;gt; , respectively. &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;(x_i,y_i)&amp;lt;/math&amp;gt;  represents a point on a Cartesian plane, as depicted in [[#f0010|Figure 2]] . The Cartesian plane consists of a set of two perpendicular lines intersecting each other at origin (0,0). The horizontal line is the ''x'' -axis, and the vertical line is the ''y'' -axis. The location of any point on the Cartesian plane is denoted by an ordered pair (''x'' ,''y'' ), where ''x''  is the horizontal distance from the origin, and ''y''  is the vertical distance from the origin.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id='f0010'&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align: center; border: 1px solid #BBB; margin: 1em auto; max-width: 100%;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:draft_Content_318040046-1-s2.0-S2095263514000375-gr2.jpg|center|339px|Cartesian plane for the position of rectangles.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;text-align: center; font-size: 75%;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2.&lt;br /&gt;
&lt;br /&gt;
Cartesian plane for the position of rectangles.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The second kind of rectangle is extra space ''E''&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt; , which may be empty. We denote its position by &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;(t_i,u_i)&amp;lt;/math&amp;gt;  and its size by the pair &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;({\lambda }_i,{\mu }_i)&amp;lt;/math&amp;gt; . In &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F&amp;lt;/math&amp;gt; , an extra space is a rectangle generated by the difference in either the widths or the heights of the spaces.      &lt;br /&gt;
&lt;br /&gt;
The last kind of rectangle is the new rectangular composition &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(i)&amp;lt;/math&amp;gt; . Its position also depends on ''i  ''  and is denoted by &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;(X_i,Y_i)&amp;lt;/math&amp;gt; . The size of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(i)&amp;lt;/math&amp;gt;  is the pair &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;(L_i,H_i)&amp;lt;/math&amp;gt; .      &lt;br /&gt;
&lt;br /&gt;
The steps for constructing &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F&amp;lt;/math&amp;gt;  are as follows:      &lt;br /&gt;
&lt;br /&gt;
Step 1: All the given spaces are arranged in the order of increasing areas, i.e., we start with the space that has the smallest area; the space with the greatest area is placed last.&lt;br /&gt;
&lt;br /&gt;
Step 2: The process starts with ''i'' =0, with all numbers set to 0. The first space is then placed to the left of (0,0). For example, we draw ''R''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;  with width ''l''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;  and height ''h''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;  at position &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;(x_1,y_1)&amp;lt;/math&amp;gt; , as shown in [[#f0015|Figure 3]] .&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id='f0015'&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align: center; border: 1px solid #BBB; margin: 1em auto; max-width: 100%;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:draft_Content_318040046-1-s2.0-S2095263514000375-gr3.jpg|center|158px|Placing the first space.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;text-align: center; font-size: 75%;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3.&lt;br /&gt;
&lt;br /&gt;
Placing the first space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Step 3: ''R''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;  is drawn above ''R''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;  in such a way that its lower left vertex is the upper left vertex of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(1)&amp;lt;/math&amp;gt; , as shown in [[#f0020|Figure 4]] (a).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id='f0020'&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align: center; border: 1px solid #BBB; margin: 1em auto; max-width: 100%;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:draft_Content_318040046-1-s2.0-S2095263514000375-gr4.jpg|center|376px|Placing the second space above the first space.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;text-align: center; font-size: 75%;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4.&lt;br /&gt;
&lt;br /&gt;
Placing the second space above the first space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Given the difference between ''l''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;  and ''l''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; , three cases are possible. An extra space is drawn if either ''l''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; &amp;gt;''L''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;  or ''l''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; &amp;lt;''L''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;  because the composition of spaces in both cases is not rectangular. To obtain &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(2)&amp;lt;/math&amp;gt; , an extra space ''t''  is drawn, as shown in  [[#f0020|Figure 4]] (b).      &lt;br /&gt;
&lt;br /&gt;
In general, if &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;i\equiv 1(mod\quad 4)&amp;lt;/math&amp;gt; , then &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;(x_i,y_i)=(X_{i-1}-l_i,Y_{i-1}),(X_i,Y_i)=(x_i,y_i)&amp;lt;/math&amp;gt; , i.e., ''R''&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt;  is drawn to the left of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(i-1)&amp;lt;/math&amp;gt;  in such a way that its upper right vertex is the upper left vertex of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(i-1)&amp;lt;/math&amp;gt; .      &lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;h_i&amp;lt;H_{i-1}&amp;lt;/math&amp;gt; , then &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;(t_i,u_i)=(x_i,y_i+h_i)&amp;lt;/math&amp;gt; , and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;({\lambda }_i,{\mu }_i)=(l_i,H_{i-1}-h_i)&amp;lt;/math&amp;gt; . An extra space is drawn below ''R''&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt;  and to the left of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(i-1)&amp;lt;/math&amp;gt; .      &lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;h_i&amp;gt;H_{i-1}&amp;lt;/math&amp;gt; , then &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;(t_i,u_i)=(X_{i-1},Y_{i-1}+H_{i-1})&amp;lt;/math&amp;gt; , and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;({\lambda }_i,{\mu }_i)=(L_{i-1},h_i-H_{i-1})&amp;lt;/math&amp;gt; . An extra space is drawn below &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(i-1)&amp;lt;/math&amp;gt;  and to the right of ''R''&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt; .      &lt;br /&gt;
&lt;br /&gt;
Step 4: ''R''&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt;  is drawn to the right of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(2)&amp;lt;/math&amp;gt;  in such a way that its upper left vertex is the upper right vertex of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(2)&amp;lt;/math&amp;gt; .      &lt;br /&gt;
&lt;br /&gt;
The positioning of ''R''&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt;  with extra space ''t''  is shown in [[#f0025|Figure 5]] . Illustrating all possible cases is not feasible. Hence, [[#f0025|Figure 5]]  assumes that ''l''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; =''l''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id='f0025'&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align: center; border: 1px solid #BBB; margin: 1em auto; max-width: 100%;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:draft_Content_318040046-1-s2.0-S2095263514000375-gr5.jpg|center|376px|Placing the third space to the right of the second space.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;text-align: center; font-size: 75%;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5.&lt;br /&gt;
&lt;br /&gt;
Placing the third space to the right of the second space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In general, if &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;i\equiv 2(mod\quad 4)&amp;lt;/math&amp;gt; , then &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;(x_i,y_i)=(X_{i-1},Y_{i-1}-h_i),(X_i,Y_i)=(x_i,y_i)&amp;lt;/math&amp;gt; , i.e., ''R''&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt;  is drawn above &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(i-1)&amp;lt;/math&amp;gt;  in such a way that its lower left vertex is the upper left vertex of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(i-1)&amp;lt;/math&amp;gt; .      &lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;l_i&amp;lt;L_{i-1}&amp;lt;/math&amp;gt; , then &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;(t_i,u_i)=(x_i+l_i,y_i)&amp;lt;/math&amp;gt; , and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;({\lambda }_i,{\mu }_i)=(L_{i-1}-l_i,h_i)&amp;lt;/math&amp;gt; . Here, an extra space is drawn to the right of ''R''&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt;  and above &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(i-1)&amp;lt;/math&amp;gt; .      &lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;l_i&amp;gt;L_{i-1}&amp;lt;/math&amp;gt; , then &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;(t_i,u_i)=(X_{i-1}+L_{i-1},Y_{i-1})&amp;lt;/math&amp;gt; , and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;({\lambda }_i,{\mu }_i)=(l_i-L_{i-1},H_{i-1})&amp;lt;/math&amp;gt; . Here, an extra space is drawn to the right of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(i-1)&amp;lt;/math&amp;gt; and below ''R''&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt; .      &lt;br /&gt;
&lt;br /&gt;
Step 5: ''R''&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;  is drawn below &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(3)&amp;lt;/math&amp;gt;  such that its upper left vertex is the lower left vertex of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(3)&amp;lt;/math&amp;gt; .      &lt;br /&gt;
&lt;br /&gt;
The construction of ''R''&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;  with an extra space ''t''  is shown in [[#f0030|Figure 6]] . In this figure, ''l''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; =''l''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;  and ''H''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; =''h''&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt;  are assumed; however, other possible scenarios also exist.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id='f0030'&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align: center; border: 1px solid #BBB; margin: 1em auto; max-width: 100%;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:draft_Content_318040046-1-s2.0-S2095263514000375-gr6.jpg|center|376px|Placing the fourth space below the third space.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;text-align: center; font-size: 75%;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6.&lt;br /&gt;
&lt;br /&gt;
Placing the fourth space below the third space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In general, if &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;i\equiv 3(mod\quad 4)&amp;lt;/math&amp;gt; , then &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;(x_i,y_i)=(X_{i-1}+L_{i-1},Y_{i-1}),(X_i,Y_i)=(X_{i-1},Y_{i-1})&amp;lt;/math&amp;gt; , i.e., ''R''&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt;  is drawn to the right of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(i-1)&amp;lt;/math&amp;gt;  in such a way that its upper left vertex is the upper right vertex of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(i-1)&amp;lt;/math&amp;gt; .      &lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;h_i&amp;lt;H_{i-1}&amp;lt;/math&amp;gt; , then &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;(t_i,u_i)=(x_i,y_i+h_i)&amp;lt;/math&amp;gt; , and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;({\lambda }_i,{\mu }_i)=(l_i,H_{i-1}-h_i)&amp;lt;/math&amp;gt; . Here, an extra space is drawn below ''R''&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt;  and to the right of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(i-1)&amp;lt;/math&amp;gt; .      &lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;h_i&amp;gt;H_{i-1}&amp;lt;/math&amp;gt; , then &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;(t_i,u_i)=(X_{i-1},Y_{i-1}+H_{i-1})&amp;lt;/math&amp;gt; , and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;({\lambda }_i,{\mu }_i)=(L_{i-1},h_i-H_{i-1})&amp;lt;/math&amp;gt; . Here, an extra space is drawn below &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(i-1)&amp;lt;/math&amp;gt;  and to the left of ''R''&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt; .      &lt;br /&gt;
&lt;br /&gt;
Step 6: ''R''&amp;lt;sub&amp;gt;5&amp;lt;/sub&amp;gt;  is drawn to the left of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(4)&amp;lt;/math&amp;gt;  in such a way that its upper right vertex is the upper left vertex of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(4)&amp;lt;/math&amp;gt; .      &lt;br /&gt;
&lt;br /&gt;
''R''&amp;lt;sub&amp;gt;5&amp;lt;/sub&amp;gt;  with an extra space ''t''  is shown in [[#f0035|Figure 7]] . For demonstration purposes, ''l''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; =''l''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; , ''H''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; =''h''&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt; , and ''L''&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt; =''l''&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;  are taken into consideration, but other possible cases also exist.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id='f0035'&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align: center; border: 1px solid #BBB; margin: 1em auto; max-width: 100%;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:draft_Content_318040046-1-s2.0-S2095263514000375-gr7.jpg|center|357px|Placing the fifth space to the left of the fourth space.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;text-align: center; font-size: 75%;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7.&lt;br /&gt;
&lt;br /&gt;
Placing the fifth space to the left of the fourth space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In general, if &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;i\equiv 0(mod\quad 4)&amp;lt;/math&amp;gt; , then &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;(x_i,y_i)=(X_{i-1},Y_{i-1}+H_{i-1}),(X_i,Y_i)=(X_{i-1},Y_{i-1})&amp;lt;/math&amp;gt; , i.e., ''R''&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt;  is drawn below &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(i-1)&amp;lt;/math&amp;gt;  in such a way that its upper left vertex is the lower left vertex of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(i-1)&amp;lt;/math&amp;gt; .      &lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;l_i&amp;lt;L_{i-1}&amp;lt;/math&amp;gt; , then &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;(t_i,u_i)=(x_i+l_i,y_i)&amp;lt;/math&amp;gt; , and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;({\lambda }_i,{\mu }_i)=(L_{i-1}-l_i,h_i)&amp;lt;/math&amp;gt; . Here, an extra space is drawn to the right of ''R''&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt;  and below &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(i-1)&amp;lt;/math&amp;gt; .      &lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;l_i&amp;gt;L_{i-1}&amp;lt;/math&amp;gt; , then &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;(t_i,u_i)=(X_{i-1}+L_{i-1},Y_{i-1})&amp;lt;/math&amp;gt; , and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;({\lambda }_i,{\mu }_i)=(l_i-L_{i-1},H_{i-1})&amp;lt;/math&amp;gt; . Here, an extra space is drawn to the right of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(i-1)&amp;lt;/math&amp;gt;  and above ''R''&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt; .      &lt;br /&gt;
&lt;br /&gt;
Step 7: Repeat Steps 3–6 until all the spaces are arranged.&lt;br /&gt;
&lt;br /&gt;
The steps of this algorithm clearly show that the spaces are arranged along a spiral, hence the name “spiral-based algorithm.” For an enhanced understanding of this algorithm, we use the following example. Consider five different spaces with the following widths and heights:&lt;br /&gt;
&lt;br /&gt;
BR – bedroom (3×4), KIT – kitchen (6×4), BA – bathroom (2×3), WC (1.5×1.5), and LR – living room (5×8).&lt;br /&gt;
&lt;br /&gt;
The construction of the spiral-based rectangular floor plan with the following spaces is shown in [[#f0040|Figure 8]] , where [[#f0040|Figure 8]] (i) indicates the required &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(5)&amp;lt;/math&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id='f0040'&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align: center; border: 1px solid #BBB; margin: 1em auto; max-width: 100%;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:draft_Content_318040046-1-s2.0-S2095263514000375-gr8.jpg|center|px|Step-by-step construction of a spiral-based rectangular floor plan for the given ...]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;text-align: center; font-size: 75%;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8.&lt;br /&gt;
&lt;br /&gt;
Step-by-step construction of a spiral-based rectangular floor plan for the given spaces.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In a rectangular floor plan, an extra space adjacent to the outside is considered a terrace; otherwise, it is a circulation. A terrace is an outdoor living space or a storeroom, and a circulation refers to the way people move through and interact within a house. The circulations and terraces are marked in [[#f0040|Figure 8]] . In this figure, the extra spaces in some sub-figures have been initially considered as terraces, but they have been marked subsequently as circulations.      &lt;br /&gt;
&lt;br /&gt;
===2.3. Seven additional spiral-based rectangular floor plans===&lt;br /&gt;
&lt;br /&gt;
Seven additional spiral-based rectangular floor plans can be obtained by slightly changing the spiral-based algorithm ([[#s0020|Section 2.2]] ) as follows:&lt;br /&gt;
* By considering the anticlockwise movement as a replacement for the clockwise movement (e.g., refer to [[#f0045|Figure 9]] [a])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id='f0045'&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align: center; border: 1px solid #BBB; margin: 1em auto; max-width: 100%;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:draft_Content_318040046-1-s2.0-S2095263514000375-gr9.jpg|center|px|Seven different spiral-based rectangular floor plans.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;text-align: center; font-size: 75%;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9.&lt;br /&gt;
&lt;br /&gt;
Seven different spiral-based rectangular floor plans.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
* By interchanging the positions of ''R''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;  and ''R''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;  in the above step and then following the clockwise movement (e.g., refer to [[#f0045|Figure 9]] [b])                          &lt;br /&gt;
* By considering the anticlockwise movement in the above step (e.g., refer to [[#f0045|Figure 9]] [c])                          &lt;br /&gt;
* By positioning ''R''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;  and ''R''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;  side by side in the spiral-based algorithm and then following the clockwise movement (e.g., refer to [[#f0045|Figure 9]] [d])                          &lt;br /&gt;
* By considering the anticlockwise movement in the above step (e.g., refer to [[#f0045|Figure 9]] [e])                          &lt;br /&gt;
* By interchanging the positions of ''R''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;  and ''R''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;  in Step 4 and then following the clockwise movement (e.g., refer to [[#f0045|Figure 9]] [f])                          &lt;br /&gt;
* By considering the anticlockwise movement in the above step (e.g., refer to [[#f0045|Figure 9]] [g])                  &lt;br /&gt;
&lt;br /&gt;
In [[#f0045|Figure 9]] , we consider the same spaces as those in the example in [[#s0020|Section 2.2]] .      &lt;br /&gt;
&lt;br /&gt;
==3. Connectivity of a rectangular floor plan==&lt;br /&gt;
&lt;br /&gt;
===3.1. Adjacency among the spaces===&lt;br /&gt;
&lt;br /&gt;
A wall is one side of a rectangle. If ''W''  is a wall with side length ''j'' , a sub-wall of ''W''  is a properly connected part of ''W'' . Hence, a closed interval of length ''k''  is strictly included in ''W'' , i.e., 0&amp;lt;''k'' &amp;lt;''j'' . Two rectangles are adjacent if they share a wall or a sub-wall. [[#f0050|Figure 10]]  illustrates the concept of adjacency for rectangles A and B. In [[#f0050|Figure 10]] (a) and (c), A and B share a wall; in [[#f0050|Figure 10]] (b), A and B share a sub-wall; in [[#f0050|Figure 10]] (d), A and B share neither a wall nor a sub-wall. Hence, in [[#f0050|Figure 10]] , A is adjacent to B in cases a, b, and c but not in case d.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id='f0050'&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align: center; border: 1px solid #BBB; margin: 1em auto; max-width: 100%;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:draft_Content_318040046-1-s2.0-S2095263514000375-gr10.jpg|center|376px|Four cases that define adjacency among rectangles.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;text-align: center; font-size: 75%;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10.&lt;br /&gt;
&lt;br /&gt;
Four cases that define adjacency among rectangles.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The adjacency graph of a rectangular floor plan is a simple undirected graph obtained by representing each space as a vertex and then drawing an edge between any two vertices if the corresponding spaces are adjacent ([[#bib3|Gross, 2006]] ). The adjacency graph of the spiral-based rectangular floor plans obtained in [[#f0040|Figure 8]]  ;  [[#f0045|Figure 9]]  is shown in [[#f0055|Figure 11]] .&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id='f0055'&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align: center; border: 1px solid #BBB; margin: 1em auto; max-width: 100%;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:draft_Content_318040046-1-s2.0-S2095263514000375-gr11.jpg|center|188px|Graph of the eight spiral-based rectangular floor plans.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;text-align: center; font-size: 75%;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11.&lt;br /&gt;
&lt;br /&gt;
Graph of the eight spiral-based rectangular floor plans.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===3.2. Optimally connected rectangular floor plan===&lt;br /&gt;
&lt;br /&gt;
The degree of connectivity of a rectangular floor plan is defined by the adjacency among the different spaces and is given in terms of the connectivity of the corresponding adjacency graph. Therefore, the connectivities of different rectangular floor plans are compared based on the connectivities of the corresponding adjacency graphs.&lt;br /&gt;
&lt;br /&gt;
Several measures can be used to compare the connectivity of two graphs ([[#bib6|Rodrigue et al., 2006]] ). In this study, we consider the number of edges as a measure of connectivity. If two connected adjacency graphs have the same number of vertices, then the adjacency graph with many edges is considered to be closely connected.      &lt;br /&gt;
&lt;br /&gt;
Let ''n  ''  be the number of spaces in a rectangular floor plan or the number of vertices in the corresponding graph. For a &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R_S^F(n)&amp;lt;/math&amp;gt; , the number of edges in the corresponding graph when ''n'' &amp;gt;3 is equal to 3''n'' –7 ( [[#bib7|Shekhawat, 2013]] ; Theorem 3.13); this theorem has been proven mathematically. In [[#f0050|Figure 10]] , ''n'' =5; hence, the number of edges is equal to 3''n  '' –7=3×5–7=8. For any &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;R^F(n)&amp;lt;/math&amp;gt; , the number of edges in the corresponding graph when ''n'' &amp;gt;3 is always less than 3''n'' −6 ( [[#bib7|Shekhawat, 2013]] ; Theorem 3.24); this theorem has also been proven mathematically.      &lt;br /&gt;
&lt;br /&gt;
Based on the results above, we can deduce that any graph of a rectangular floor plan cannot have more than 3''n'' –7 edges and that the graph of a spiral-based rectangular floor plan has exactly 3''n'' –7 edges. Therefore, the spiral-based rectangular floor plan is one of the best rectangular floor plans in terms of connectivity.      &lt;br /&gt;
&lt;br /&gt;
==4. Conclusion and future work==&lt;br /&gt;
&lt;br /&gt;
A spiral-based rectangular floor plan starts from the smallest space, i.e., the smallest space is always at the center of a floor plan. In a house, toilets are among the smallest spaces, and users want these rooms to be in the center and connected to a maximum number of spaces. Moreover, the position of extra spaces indicates the position of the doors.&lt;br /&gt;
&lt;br /&gt;
In this work, we constructed eight different spiral-based rectangular floor plans that offer a number of choices to users. The results revealed that spiral-based rectangular floor plans are the best in terms of connectivity. For our future work, we can use the concept of spiral-based rectangular floor plans to construct other floor plans of different shapes.&lt;br /&gt;
&lt;br /&gt;
A number of extra spaces are known to exist in a rectangular floor plan. As far as applications are concerned, extra spaces are valuable, but their sizes must be reduced. In the future, we will find methods for reducing the sizes of extra spaces to maintain connectivity and the number of extra spaces.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style='list-style-type: none;margin-left: 0px;'&amp;gt;&amp;lt;li&amp;gt;&amp;lt;span id='bib1'&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
[[#bib1|Dabbour, 2012]]  Dabbour; Geometric proportions: the underlying structure of design process for Islamic geometric patterns; Front. Archit. Res. (2012), pp. 382–383&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;span id='bib2'&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
[[#bib2|Galle, 1981]]  Galle; An algorithm for exhaustive generation of building floor plans; Commun. ACM, 24 (12) (1981), pp. 813–825&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;span id='bib3'&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
[[#bib3|Gross, 2006]] Yellen Gross; Graph Theory and Its Applications;  (second ed.)Chapman &amp;amp; Hall/CRC, Boca Raton (2006)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;span id='bib4'&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
[[#bib4|Lai, 1988]] Leinwand Lai; Algorithms for floorplan design via rectangular dualization; IEEE Trans. Comput. Aided Des., 7 (12) (1988), pp. 1278–1289&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;span id='bib6'&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
[[#bib6|Rodrigue et al., 2006]]  Rodrigue,  Comtois,  Slack; The Geography of Transport Systems; Routledge, New York (2006)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;span id='bib7'&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
[[#bib7|Shekhawat and Rectangle, 2013]] Shekhawat, Rectangle Tilings, Connectivity and Associated Covariants, Thèse no. 4570, 2013, Section de Mathématiques, Université de Genève, Genève.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;span id='bib8'&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
[[#bib8|Stiny]]  Stiny; Shape (Talking about Seeing and Doing); The MIT Press, Cambridge (2013)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;span id='bib10'&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
[[#bib10|Terzidis, 2007–08]]  Terzidis; AutoPLAN: a stochastic generator of architectural plans from a building program; form\cdotZ Jt. Study J. (2007–08), pp. 84–85&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;/div&gt;</summary>
		<author><name>Scipediacontent</name></author>	</entry>

	</feed>