Abstract
The article presents the application of Hybrid Evolutionary and Greedy-based algorithms to the problem of Automated Floor Plan Generation. The described optimization issue is part of a wider domain of Computer-Aided Architectural Design. The article covers the extensive description of the representation domain model (architectural canonical guidelines, user design requirements and constraints) and the explanation of proposed approach: problem representation, genetic algorithm operators, and fitness function definition. The research experimental procedures are based on real-world data: the architectural design guidelines being the design constraints and five real-world functional programs introduced and proposed as benchmarks. The article summarizes the implementation of the proposed approach, compares the Hybrid Evolutionary Algorithm experimental results with the Greedy-based algorithm, and suggests possible extensions and future research directions.
Keywords
Introduction
Computer-Aided Architectural Design (CAAD) applications include a large group of computer software supporting architectural design. This article is an analysis of one of the CAAD issues—an Automated Floor Plan Generation (AFPG). Unlike typical Computer-Aided Design tools, CAAD software is primarily focused on supporting the architectural design process. Since the beginning of CAAD development, tools aiding the architectural design through the creative use of computer computing power began to appear. Research on the problem of architectural design aided by computational tools has been conducted for over 50 years and the early examples can be found in various papers.1–3 In recent years, with the growing support of leading producers of architectural software, the field undergoes rapid development, with a good example of The Living group 4 (the Autodesk architectural research team) and their work.5–7 The exploration is mainly structured around two trends: enhancement of BIM software capabilities through connection with parametric design platforms (Archicad® and Grasshopper™; Revit® and Dynamo) and particularly promising academic research projects.8–10 The growing role of technology in today’s world inevitably affects the entire architectural design process. The architectural community seems to recognize the limitations of existing CAAD tools, especially in the aspects as ephemeral as creativity. The development of modern architectural design tools is mainly focused on the later stages of the design process. The architectural commercial aiding software, though very advanced in this role, is developed mainly as advanced “drawing aids.” In recent years, more and more research has focused on supporting the initial, concept stage of architectural design with various approaches showing a great potential in this area, especially for fast exploration of possible architectural design spaces.
Less formally speaking, the AFPG is the computational optimization problem that automates and speeds up the process of searching the architectural solution space for feasible architectural layouts meeting (multiple) design criteria. Generation of a good floor plan layout is quite a difficult process which includes not only a number of measurable and intuitive conditions, but also specific constrains, which must be taken into account in final practical solution/layout. In addition, from the architectural point of view, the AFPG solving method is very useful in practice. The initial stage of each architectural project is creating the concept spatial plan of designed object on the basis of available functional and design guidelines as well as the limitations resulting from the legal constraints. The process of creating the architectural layouts concept is a repetitive search for an optimal solution that meets the criteria and the design constraints. This iterative and analytical process is the arduous search of a wide range of possible design solutions. The computer becomes an useful tool for these purposes because, in contrast to a human, it is adapted to perform many repetitive operations without being susceptible to analytical errors. Authors believe that automation of the search process for the optimum concept of floor layouts may enable
Broadening of the solutions spectrum meeting the design goals,
Improvement and acceleration of the architectural design process,
Architectural design improvement by introducing (multi-criteria) optimization of design solutions,
Supporting the creativity of designers by generating non-obvious and surprising solutions.
The AFPG problem seems to be currently the main focus with regard to the use and development of computing tools (machine learning, generative design, etc.) in solving architectural problems. The number of requirements and possible combinations of room location on the architectonic floor plan makes this problem extremely complex and computationally demanding, that belongs to the group of nondeterministic polynomial (NP) time complete problems. 11
Moreover, AFPG defines and allows to effectively search spaces of measurable design conditions leaving architects area for making the most important design decisions. Furthermore, it speeds up the design process by offering solutions meeting (multiple) criteria which can change during design procedure. In order to resolve this problem, hybridized Evolutionary Algorithm (EA) and Greedy Algorithm are applied in this article. This article suggests a new application supporting the conceptual stage of designing architectural floor plans via the AFPG. The application being developed by the authors is called ELISi (
The recreation of architectural process stages in the software workflow,
Intuitive wizard-like interface and workflow (the Graphic User Interface (GUI) is currently at the prototype stage and is described in more detail in the “Future work” section),
Collection and use of real architectural design data (hereinafter referred to as “Design canons”) to create the correct design solutions,
Elaborating on the problem based on architectural design practice.
This article focuses on the logical core of the proposed tool which is the Hybrid Evolutionary Algorithm and Greedy-based algorithm constituting the mechanics of generating architectural floors. The authors focus on the conceptual design stage, hence the floor plans are presented in a simplified rectangular form, without architectural openings and other architectural details. It is consistent with the typical architectural design practice, whereas the floor layouts at the early concept stage are presented in the form of rectangular diagrams. Although floor plans generated by the proposed algorithm were created with only single design criterion (evaluation function)—the boundary and layout compactness—their architectural quality is already satisfactory in terms of topological connectivity, room side aspect ratios, and division into functional zones and the room areas to the total floor plan area ratio. Typically, the unused area is a fraction of the floor plan total area which, from the architectural point of view, is negligible at the point of design conception stage. This indicates at the good functioning of the adopted method and its high development potential in planning implementation of the multi-criteria optimization algorithm. A set of architectural tests was developed to examine ELISi efficiency: the benchmark design cases in the form of functional programs of various existing single-family houses—the main focus for the current version of proposed tool. The authors focus on this type of architectural objects due to extensive functional programs in terms of the number of variety of functional connections. Test design cases are used to determine the degree of reliability of the adopted algorithmic solutions with regard to fidelity and similarity of the generated floor plan layouts to the existing real-world examples. It is measured by the degree of similarity between the algorithm-generated plans and the real-world floor plans—the more similarities, the more reliable the method is. It is important to clarify that the use of benchmark data set (consisting of five real-world architectural programs) is designed to verify the correctness and effectiveness of selected methodology, but it does not imply the practicable applicability in the actual design process at this stage. The usefulness of the proposed application will be verified by its future extensive user tests.
The rest of this article is organized as follows. The section “Related work” sets out some of the related works. The “Proposed approach” section presents the AFPG problem definition, the proposed approach, and some implementations details. The provided experiments and results are presented in the section “Experiments and results.” The “Architectural summary of results” section includes architectural summary and comments of the results obtained. The article finishes with the “Conclusion” section presenting the conclusion and the future work.
Related work
The AFPG problem described in this article enables the exploration of architectural design space through the generation of architectural floor plans that meet certain specific design criteria. Similar approaches/problems—a recent survey in Nisztuk and Myszkowski 12 —can be found in the literature.
Merrell et al. 8 proposes the advanced tool to generate layouts of buildings, taking account of a set of factors such as the functional layout of rooms, area as well as windows and doorways opening. The application provides plausible design outcomes. However, the presented approach uses an idealized situation without site-specific and client-specific features. The prototype generates detailed three-dimensional (3D) architectural models and plausible layout plans. The disadvantage of this solution is the lack of interactive workflow which does not allow to manage the input in real time.
In Willis et al. 13 is presented an advanced cross-sectional tool for the comprehensive design of one-family houses (catalog designs) used on the US real estate market, created in Grasshopper™. The tool has a complete approach to house design, from general concept to construction. The implementation of the application with an object-oriented Grasshopper™ visual programming language limits the circle of users to those more experienced. This tool is adapted only to the realities of real estate US domain.
The approach outlined in Bao et al. 14 enables the exploration of potential and accurate building volumes, depending on a set of design guidelines. This tool with a clear graphic interface provides a quick way to create a concept of an accurate building volumes, while the generation process works in real time. Due to a convenient interface, the application is suitable for creating quick concepts of building forms for different urban contexts. The prototype is one of the few convenient and usable tools for the concept stage of architectural design that produces meaningful design propositions.
Described in Liu et al., 15 the tool allows designing an apartment layout, with a module that generates building structures. Focusing on reinforced concrete constructions, it is one of the few examples of specialized uses of this type of application. Such an interactive tool allows modifying functional properties during the generation process. However, the user can operate only on a single layout of the apartment, and the introduction of more complex functional systems is rather problematic.
A comprehensive tool—GerAPlanO9,16—is one of the most advanced CAAD application and its main purpose is to create a fully functional design tool for architects. The prototype has been created by an interdisciplinary team and in cooperation with architects, development, and a construction company. The intuitive interface enables to use online data (Google Maps, weather data, etc.). It is one of few tools that have a chance to become fully-fledged tools of CAAD using computational design.
The research project that is also worth mentioning is “Project Fractal” 10 —led by Autodesk® aimed to explore generative design and optimization techniques of the architectural design process. The tool combines the cloud computing power with Revit® architectural design application via Dynamo scripting environment. It allows exploring the architectural design spaces defined by Dynamo visual programming language. The project is currently in the dynamic development stage becoming one of the first generally available intuitive tools for architectural generative design.
The authors argue that current research, even with the gradual changes toward the end-user (the architects) needs, despite their considerable degree of advancement and satisfactory computational efficiency, is still overly focused on Information Technology (IT) methods resulting in omitting the tool usability aspects. From the point of view of the architect, what is significant is that most of the contemporary applications tend to be created to optimize a partial or the general aspects of the designed structure, rather than enhance the architect’s creativity by providing valid design solutions.
The authors identified and outlined a classification of methods solving floor planning problem. The following list aims to roughly outline computational methods for this problem. A closer analysis and reviews can be found at Nisztuk and Myszkowski. 12 These applications can generally be divided into several groups enclosed in two main categories: with predetermined floor boundary outline, without the specified layout boundary envelope.
The category where predetermined floor boundary outline exists, in general, contains methods for dividing the polygon’s specified boundary contour, based on various computational methods or architectural conditions. The group contains examples like polygonal division—using KD trees, 17 rectangle division based on treemaps 18 or facilitation of Voronoi diagrams in the interior 19 or urban design. 20 The approaches from the second group are typically based on the division of the polygonal boundary into smaller fragments based on the importance attributed to given space, for example, based on the number of room connections or area priority. 21 This category is less useful for computational creation of floor plans. Take the example of the scenario in which one of the main design criteria is the inviolable building outline. It is very uncommon and usually refers to redesigning or an adaptation of existing architectural objects for other purposes or to historic buildings renovation.
The category without the specified layout boundary envelope contains methods for creating floor layouts without a given outline and adjustments for given design requirements fulfillment. Various methods can be distinguished:
Dynamic addition of rectangular rooms to each other; 22
Floor layouts creation based on a rectangle divided into multiple fragments corresponding to the number of rooms and subsequent geometric transformations, for example, moving the edges of rooms gradually enlarging the room to the assumed size; 8
Modeling by physical simulation, for example, on the basis of the topology graph with nodes depicting the rooms and the edges representing springs. The nodes are attracted to each other with the forces representing given connection preference; 21
Floor plans creation based on cellular automata models—the rooms “grow” gradually by adding further small modular blocks, aiming at the given geometrical preferences. This method allows for non-orthogonal space shapes. 23
The above approaches are combined with all different types of solution searching methods, typically based on Genetic Algorithms 6 or some machine learning algorithms. 23 The authors are aware that the above classification does not fully exhaust the available methods for AFPG problem. However, it roughly outlines the main directions of solving methods.
The conducted literature research allows concluding that the main directions of contemporary tools for the AFPG problem mainly focus on developing an IT method without focusing on the user’s layer. The field lacks a holistic approach to the subject of the AFPG problem related to the development of comprehensive systems that supports the work of architects taking into account the user’s needs in terms of usability and functionality. To address that, the authors introduce the user-centered approach 24 which will be elaborated further along with the overall progress on the development of the tool. The proposed approach is signalized throughout the article although it is not specifically described here. The article describes the logical core of the proposed application being the Hybrid Evolutionary Algorithm and Greedy-based algorithm constituting the mechanics of generating architectural floors. The proposed tool aims to gather all good practices and to create a functional architectural software complementing the design work, not necessarily primarily focusing on computational efficiency. It should be noted that, there are other currently developed tools—based on similar assumptions6,9,10 which can be perceived as a reflection of a growing user-centered trend in contemporary software development.
Proposed approach
This section sets the main features of the proposed approach—its motivations and description. This article will analyze the current stage of ELISi project. In this section, it will summarize already finished stages and will outline next.
Motivations and previous work
The novelty and the main motivation of proposed approach are focused on the recreation of architectural design process stages in the proposed tool workflow and emphasis on software functionality and usability. This can be achieved by
Collection of design information through an interactive interface resembling the architectural brief;
Intuitive wizard-like application workflow;
Conclusion of the user in the evolutionary selection process via Interactive Evolutionary Computation—after each run of the application, the user has the opportunity to select the preferred solution that proceeds to the next pass as the individual with the preferred set of genes;
User design requirements and the generated floor plans confronted with the set of actual architectural design constraints (Design Canons).
Before the preparation of this article, some works have been completed as the following stages of ELISi project:
Literature studies on available solutions for AFPG such as available algorithmic tactics, architectural design criteria selection, single and multi-criteria optimization methods presented in Nisztuk and Myszkowski; 12
Definition of the main users’ software requirements based on a survey conducted on the professional architects presented in Nisztuk and Myszkowski; 12
Development of the application workflow and the software architectural design guidelines presented in Nisztuk and Myszkowski; 24
The proposals of architectural floor plan notation for AFPG problem: formulation of architectural design criteria set being the selection of criteria for adopted algorithmic method (evaluation function);
Collection of architectural design data and the design set development (Design Canons) which has been included in the proposed application, being the testing use cases for an algorithmic method;
Development of the architectural benchmark set including five examples of architectural functional programs of various real-world single-family houses. This type of architectural object is the main focus for the current tool. It is due to extensive functional (in terms of the number of the variety of functional connections) programs;
Development of the AFPG solution method that solves the problem. Proposed approaches use a heuristic (Greedy-like approach) and metaheuristics (like EAs) and hybridize them;
Experiments and verification procedure for proposed approaches using five examples of architectural functional programs.
Stages 4–8 are described in this article whereas further ELISi stages are presented in the “Future work” section.
Description of solution model for AFPG
Informal description of the AFPG problem is as follows: for several rooms (defined by a user), a solution is arranging them (placement, location) and fixing their size to optimize their flat bounding box aiming at its smallest area (minimization problem) and meeting the assumed constrains. The AFPG domain constraints should be formulated as follows:
Set of
Each room has neighboring rooms defined—a summary of all rooms gives a topography of the analyzed flat,
For each room
For each room
The solution of AFPG is a floorPlan—a sequence of
This fitness function, for a given
where
Greedy-like algorithm
In order to operate in the feasible AFPG solution space only, the Greedy-like algorithm has been applied (see Algorithm 1). Proposed Greedy algorithm builds the final floor plan getting only two parameters: the scale factor matrix (one value for each room is defined) and sequence that represents sequence of rooms ordering. The algorithm formally works as follows
where
Greedy-based algorithm specialized to AFPG.
Such operations scale room’s width and limit its value according to constraints defined by user in given canon. Analogously, each room’s height
Developed Greedy-like algorithm (see pseudocode Algorithm 1) after scaling operation (see lines 2–4) initializes the position of first room (lines 6–7) in the middle of the flat layout. Next, the first room in
PlaceRooms procedure.
Algorithm 2 uses two architectonic parameters:
The main work of Greedy algorithm is contained in
The preliminary research results showed that Greedy-like algorithm strongly depends on the initial sequence of rooms and initialization method (heuristic or a random one). In literature, hybrid of Evolutionary Computations and Greedy-like algorithm is known as very effective. This is the reason why approach presented in this article is slightly inspired by the idea of hybrid DEGR (Differential Evolution and Greedy 25 ). However, this article uses EA, whereas Greedy-like is specialized to solve AFPG problems. In such hybrid, EA works to find the optimal initial sequence of Greedy-like and also proposes a room scaling aspect to optimize flat area.
Hybrid Evolutionary Algorithm and Greedy-like algorithm
A Greedy-like algorithm constructs the final floor plan and as an input it takes

General schema of ELISi model.
In the ELISi data flow (see Figure 1), the constraints given by user are the most important. The requirements include a number of rooms, types of room, rooms topology, and minimal/maximal length/width/area of a given room. If any constraint is not given by the user, its value is copied from predefined architecture canon file. In the next stage, EA is initialized and genotypes are randomly filled. Then, Greedy-like algorithm is executed to transform genotype into phenotype (floor plan) to be evaluated by fitness functions. Evaluated genotypes are then selected, modified by genetic operators (crossover and mutation) to create a new population. The evolution cycle is closed until it does not meet one of the stop conditions: a number of generations exceeds the limit or individual with fitness function equal to 0 is found. The best individual is selected as the final 2D/3D floor plan and is presented to the user.
The ELISi solution representation (genotype) consists
As a crossover operator, the standard SX (Single-Point Crossover) with probability
Experiments and results
The aim of the conducted experiments was to investigate the robustness and efficiency of ELISi approach in comparison to results obtained by other methods: Greedy-based variants and multiStart Greedy. The obtained results are described by fitness value [cm2] and computational time using five developed architectural cases studies.
Architectural case studies and design canons used in the study
To test the developed ELISi, the authors created the benchmark data set consisting of five real-world architectural programs along with their simplified geometrical (rectilinear) representations. The benchmark set has been prepared for the broadest possible diversity of functional systems and design conditions. The collection contains three various contemporary programs (Flo, 26 Logan, 27 and Simon 28 ) representing the archetypal functional systems of a single detached house, one example of a classical modernist architectural layout (villa Savoye 29 ) with extensive functional program, and one example of vernacular and organic program of house located in Rio de Janeiro’s dense urban favelas area. 30
Flo III G1 26 is a popular catalog project of a detached single-family home designed for a wide range of consumers provided by the courtesy of Archipelag design studio. One story house for three to four people, without basement, with attic for residential adaptation and garage for one car. The building includes three bedrooms, a spacious living room connected directly to the terrace, and a kitchen. The design is maintained in modern style preserving the archetypal symbolism of the house, with clearly separated living, private, and utility spaces zones.
Villa Savoye 29 is a modernist villa built between 1928 and 1931 for the Savoye family, located in Poissy, in the suburbs of Paris, France, by Swiss architect Le Corbusier and Pierre Jeanneret. It is a compact, three-story detached building on a rectangular plan, located on a meadow surrounded by forest. The ground floor consists mainly of guest rooms, a spacious hall, and a garage. The first floor is the main living space with kitchen, living room, and spacious rooms. The second floor contains roof terrace and sculptural structures. Vertical communication is provided by main communication ramp with additional staircase. The building is an icon of modernist architecture thanks to its minimalist, open space, large windows, and the interconnection of interior and exterior space. The current implementation takes into account only ground floor functional program.
Logan G1 27 is an example of popular catalog detached single-family home designed for three to five persons provided by the courtesy of Archipelag design studio. The house has a traditional layout with the clear division for day zone located on ground floor and night zone located on the first floor. It is a two-story house with an attic, without a basement and with garage for one car. The design is maintained in modern style preserving the archetypal symbolism of the house, with clearly separated living, private, and utility spaces zones. Prepared project includes basic information about the architectural program and layout geometrical properties.
Simon G2 28 is another example of a popular catalog single-family house design provided by the courtesy of Archipelag design studio. The building is maintained in modern style preserving the archetypal symbolism of the house. It is a detached, one-story house, with attic for later adaptation to residential purposes, without a cellar, with garage for two cars, designed for a family of four. It contains a clearly separated daily area consisting of a living room connected to a kitchen and a terrace and private zone with three independent bedrooms. In the entrance area located at the front of the building, the utility space was separated along with a two-bay garage. Developed project includes basic information about the architectural program and layout geometrical properties.
The favelas 30 is an example of typical single-family, three-story building located in the Complexo do Alemao neighborhood, one of Rio de Janeiro’s dense chaotic urban favelas area. The building is a peculiar example of vernacular architecture. Despite the lack of the architect’s involvement in the design and construction of the object, it retains orthogonal geometry and classical zoning division. The ground floor is occupied by living (day) zone (kitchen, living room, bathroom, and dining room), bedrooms (night zone) are located on the first floor, the top floor (roof) is a multi-purpose terrace. Current benchmark counts only the ground floor. The project includes basic information about the architectural program and layout geometrical properties.
The user can propose his or her own design constraints by changing the default design canon reference database; the design canon contains a set of default design information about dimensions, area, and connectivity patterns for each room type occurring in a functional program of a typical single-family home. Such information is the “canonical” design constraints for the generated floor plans. Thus, if the user does not provide certain functional information required for the layout, for example, the preferred area of room type included in the desired functional program, the program supplements this information from the design canon file. The canon data were determined in accordance with the architectural design practice and common architectural knowledge contained in the architect’s design manuals such as Neufert. 31
In addition, in the provided canon, each room type contains information on its minimum and maximum length, width, and area. Furthermore, the data on preferred floor and location relative to the directions of the world are present. Also, favored topological connectivity between the specified room types is present in the form of the adjacency matrix. The design canon includes instructions on how areas of specific room types should be treated during the generation process as well. For example, typically the communication and utility spaces should have the smallest area possible contrary to the larger area of daily and night zones. Based on architectural design practice, some rooms do not contain data for maximum value of the area, length, or width, for example, living room area is usually determined at the functional program stage and is referred as a percentage of the total usable area.
All presented results (floor plans), five case studies and canon details are developed by. xml format files and available online (https://www.ii.pwr.edu.pl~myszkowski/caad/). The input file contains constraints and required topology and uses self-describing XML format, for example, it gives the root element that contains successive rooms descriptions whose main elements are
Experiments’ procedure
To investigate ELISi performance, some experimental procedure is needed. The ELISi is implemented using python language with standard libraries. As proposed approach is based on EAs that consists of some non-determinism elements, all empirical experiments of ELISi were repeated at least 30 times and results are averaged. All experiments are realized on the computer configured CPU i7-2630 200 GHz, 16 GB RAM (Windows 7 OS).
The basic method for comparing ELISi results is Greedy-like algorithm that uses two types of initialization heuristic: (D)egree that orders descending all rooms by the number of connections and (S)ize that orders descending all rooms by its area. As the additional benchmark, the (R)andom initialization is also used. The procedure is repeated 10.000 times—results are averaged and best value is also given.
ELISi has been tuned experimentally. The best found ELISi configuration is
Results
The goal of the conducted experiments was to investigate the robustness and efficiency of ELISi in comparison to results obtained by Greedy-like variants. The obtained results are described by fitness values and computational time needed to get a solution. Summary results are presented in Table 1. There are results of Greedy-like algorithm that uses three variants of initalisation (R)andom order, room (D)egree order, and room (S)ize order given. Two initialization methods (
Summary and comparison of ELISi results (given in cm2).
Results presented in Table 1 show that Greedy-like algorithm heuristic-initialized by room (D)egree and (S)ize is deterministic but not effective. The results of (R)andom initialization of Greedy-like algorithm are more interesting: it gives on average 21.42% lower fitness than (D)egree initalisation and 24.68% compared to (S)ize initalisation results.
In order to compare multiStart Greedy-like algorithm and ELISi result, the best result of Greedy and averaged results of 30 runs of ELISi are given. Results contained in Table 1 show that for each case, ELISi is more effective and returns better solution—in average solution is 74.36% better than multiStart Greedy. The average computational time to get the solution is 3773 s and this value can be easily reduced by using more powerful computer, non-scripting programming language (like C/C++) and more restricting programming techniques. In this stage of experiments, however, such work is not considered.
Data presented in Table 1 show another potential further directions of research—specialization of genetic operators. The current ELISi version uses only standard operators—this may cause that ELISi can stuck in local optima, which suggest a relatively large values of standard deviation of gained results (see in Table 1 SD column). Application of specialized genetic operators makes evolution more effective, allows avoiding stucking in local optima and gives more repeatable results.
Architectural summary of results
The authors chose 11 sample results achieved with the current version of ELISi. Two for each benchmark floor layouts and an additional example of

Favelas: selected examples of solutions (a) near optimal (fitness(x) = 10,500) and (b) optimal one (fitness(x) = 0).
It is important to mention that the only optimization criterion included in this research is the minimization of the layout total area in relation to boundary box area condition and the topological connectivity of spaces. No room location related to world sides, no room area criterion, or proportions of the sides of the rooms, no other important optimization criterion is present. Despite this, the system already managed to create functional architectural layouts with rooms of good proportions and with clear zonal separation. The rooms requiring bigger area (living room, garage) are larger, the spaces which area should be minimized (toilets, communication, storage units) are clearly smaller and grouped. Only the ground floor of the benchmark is currently taken into account. Because of that, some spaces are not present on the generated floor plans.
Design canon: Favelas
The
Figure 2(a) presents a design where the kitchen, storage, and bathroom are grouped together, creating a closed utility zone, easily accessible from the day zone (living room and the dining room) resembling the original benchmark solution. The main entrance zone (the hall) is grouped together with the main stairs creating the clear communication zone. The kitchen is located in the central part of the floor layout, lacking the daylight, which agrees with the functional program of the original floor plan.
An example of Favelas solution (see Figure 2(b)) achieved the 0 fitness score (optimal one), creating the compact floor layout. The functional division of the original is in general preserved with the main entrance located in the hall, although the spaces are in different positions and the living room area is large in relation to total floor plan area. In addition, the resulting rooms lack the correct proportions and are, in general, too narrow.
Design canon: Logan
This example contains 10 rooms. Two examples of Logan project solutions are presented in Figure 3. Figure 3(a) presents a design where the floor plan resembles the original benchmark in the general functional and zonal division. The main entrance is located on the porch. The day zone (living room and kitchen area) is located at the top of the floor layout, while the utility zone with the studio is located centrally with the double garage attached at the bottom. The rooms have good size proportions and areas in relation to the total layout area.

Logan: selected examples of two near optimal solutions. (a) fitness(x) = 83,600 and (b) fitness(x) = 59,000.
Figure 3(b) presents another example of Logan solution. The floor plan resembles the mirror image of the original benchmark in, generally, functional and zonal division. The main entrance is located in the porch room. The day zone (living room and kitchen area) is located at the bottom of the floor layout, while the utility zone with the studio is located centrally with the double garage attached at the top. The rooms have good size proportions and areas in relation to the total layout area. There is a gap inside the floor, near the cloakroom, which is the disadvantage of this example.
Design canon: Flo
This example contains 11 rooms. The result presented in Figure 4(a) clearly resembles the original benchmark layout (rotated by 180°) containing all the main functional features. The main entrance is located in the porch. The example contains minor differences like the bathroom and living room different positions in relation to original benchmark but still remain in the associated functional zones. The rooms lack the proper proportions and are in general too narrow.

Flo: selected examples of solutions: (a) near optimal (fitness(x) =30,800) and (b) optimal one (fitness(x) = 0).
The example of the Flo benchmark program presented in Figure 4(b) achieved 0 value of fitness function, creating the compact rectangular floor plan. The main entrance is located on the porch. The bedrooms are grouped together creating clear night zone separated by the centrally located hall. The day zone (kitchen and living room) are divided from the rest of the house, creating the day zone, although the kitchen area is too big in relation to living room space. The single garage with the current dimensions should be rotated in order to locate entrance at the side of the main entrance to the house. The rooms have generally correct proportions although spaces 4 and 10 can be perceived as too narrow.
Design canon: Simon
The
The example of

Simon: selected examples of solutions: (a) near optimal (fitness(x) =17,100), (b) the optimal one (fitness(x) = 0), and (c) non-optimal (fitness(x) = 67,400).
Another example (see Figure 5(b)) even though with the best possible fitness score did not satisfy the basic architectural condition—the entrance to the building is inside the building. The next example (see Figure 5(c)) defines the main entrance in the porch. The cloakroom, utility room, bathroom, and toilet are grouped together in the central part of the layout, creating a closed utility zone, easily accessible from the kitchen and from the garage. In addition, the bathroom and WC are close together allowing the join plumbing installation. The bedrooms are grouped together creating clear night zone separated by the centrally located hall. The day zone (kitchen and living room) are visibly divided from the rest of the house, creating an intimate day zone. The pantry is too narrow creating rather non-functional space. The cloakroom is slightly too small to handle the needs of the entire layout. The entrance to double garage is blocked by the utility room location.
Design canon: Savoye
The
An example of the solution presented in Figure 6(a) is centrally located communication space (hall, corridor, and the main stairs grouped together) which, in general, divides the night zone from the double garage. Single bedroom (room no 6) has incorrect proportions being too narrow. The original main entrance space (hall) has a central inner location; however, it is connected with the outer boundary by the corridor space. This allows to assume the main building entrance being placed inside the corridor location.

Savoye: two selected very near to optimal solutions. (a) fitness(x) = 2200 and (b) fitness(x) = 5900.
Another solution example (see Figure 6(b)) defines the centrally located communication space (hall, corridor, and the main stairs grouped together), which, in general, divides the night zone from the double garage. Although the original main entrance space (hall) has inner location, it is connected with the building boundary by the corridor space. This allows placing the main building entrance in the corridor space.
Summary and comments
The presented approach is effective and returns a useful application for architect to solve AFPG problem. Using evaluation function and Greedy-like algorithm makes it possible to find a (near) optimal solution. Moreover, the near optimal solution can be further improved by additional algorithmic procedure to extend the rooms near to empty areas.
However, one can be concerned that the current floor plan description is too simple—it is based on the rectangular room outlines, there is one evaluation function (the layout compactness criterion) bounding the floor plan boundary to the rectangle shape. The authors focus on the conceptual design stage, hence the floor plans are presented in a simplified form. It is consistent with the typical architectural design practice in which the floor layouts at the early concept stage are presented in the form of rectangular diagrams. Although relatively simple description, the method proved its effectiveness and great development potential. Presented results are architecturally consistent resembling the original floor plans of benchmark functional programs—both geometrically and functionally. The unused area typically constitutes a fraction of the floor plan total area—which, from the architectural point of view, at the concept design stage is not a major issue.
Conclusion
The presented ELISi application is effective and gives a useful application for the architect to solve AFPG problem. The ELISi results show that AFPG problem formulation and developed method can be effective in practical design—five architectural cases are solved and analyzed carefully. Moreover, in this stage, ELISi contains some very important properties. Modularity of application implementation enables simplicity of application development for additional evaluation criteria, functionalities, and addition of other design canons. In addition, the implementation model allows development for various platforms, especially as a web platform which gives the possibility of cloud computing and allows the use by the wide audience. The flexibility of implementation allows for application scalability. For canon criteria specified in the current implementation (room connectivity, room dimensions, and area), the architectural design outcomes are very satisfactory. Finally, the application focuses mainly on a conceptual stage of the architectural design process enabling to explore plausible architectural layouts.
Currently, application does not support multi-floor functional programs. This functionality will be added in the future versions through additional room connectivity parameters. Furthermore, the application does not yet contain room dimension aspect ratio evaluator which sometimes results in disproportionate spaces. The architectural design outcomes of the tool are not fully satisfactory. The main reason for this is that the current implementation takes into account only three evaluation criteria regarding the room connectivity (topology), basic dimensions, and area. Additional assessment functions included in further development—namely, the compactness evaluator, the room location relative to the world sides evaluator, and the room aspect ratio evaluator—should improve even more significantly (already satisfactory in many aspects) the quality of the architectural layouts. In addition, ELISi results show that relatively long computational time could be optimized (e.g. using programming languages more effective than python). Moreover, specialized genetic operator could be very useful.
Future work
The proposed ELISi tool, in this stage of research, is rather a prototype that is focused mainly on generating meaningful architectural floor layouts and the development of fast, architecturally reliable and computationally efficient methodology for AFPG, currently resulting in the limitation of the interactivity with the user. Currently, the user has no influence on the evolution directions by intermediate stages where he or she could participate in the selection process. The current implementation has no integration with existing architectural design software. Further development will be focused on the creation of Grasshopper plug-in which will allow the direct integration with leading architectural BIM software (Archicad).
Once the current application becomes fully functional and optimized (e.g. by the introduction of multithreading computation), the authors are planning to implement several further improvements and new functionalities. The authors are primarily planning to introduce an additional floor plan repair post-processing stage to clear unwanted holes between rooms. To achieve this, the authors assume the algorithm assigning free spaces to adjacent rooms by the area or topology priority. Also, the authors are planning to introduce multi-objective optimization including the room preferred areas, room location relatively to the world sides, and room inner/outer location. The future works also include the introduction of floor levels, architectural openings (door and windows), and the GUI enabling the use of this tool by non-advanced users.
The GUI prototype is designed to allow easy work with ELISi software to any (even non-advanced) user. The main users of this proposed tool are the architects. In order to facilitate the input data collection (the design requirements), the GUI introduces the concept of wizard-like interface and workflow resembling the completion of an architectural design brief familiar to every architect. The interface is created to enable the efficient and intuitive work with the software allowing to focus on the most important aspects of the architectural design process.
The functional extension of ELISi should not only contain integration to some standard architectural application but also EA improvement: greedy initialization, specialized genetic operators, and/or specialized representation. Moreover, the fitness function can be extended to make a solution more practical for architectural usage, for example, room proportion size, room type preferences, and cardinal directions orientation. Another direction is the complexity of fitness function—multiple objectives make AFPG problem the subject of multi-objective optimization. The metaheuristics solving this type of problem should use knowledge about domination relation and gained Pareto Fronts like classic NSGA-II 32 or its recent modification NTGA.33,34
The multi-objective optimization uses more than one objective function. The most intuitive candidates for objective function are
Bounding box—already implemented and examined in solving AFPG as one criteria optimization;
Room preferred areas—the preferred room area evaluation criterion is a sum of differences between the preferred area for a given room specified by the user (measured in cm2) and the current area of this room. The sum value can be minimized;
World sides location for rooms—each world side can be assigned an angle value that links room orientation and world side. Such fitness function allows to define preferences for world side orientation of given room (e.g. living room located on the south side of the building).
To show potential and usability of additional fitness functions, let’s consider three examples that use the additional evaluation criteria implementation to the current mechanics of floor plan generation. The additional evaluation criteria are room preferred areas and the location of rooms relatively to world sides. In the current examples, the existing fitness function was extended to the form of simple sum of partial values responsible for the given evaluation criterion and it is minimized. It is a simple approach which is not a multi-objective optimization that uses dominance relation. The resulting floor layouts almost perfectly match their real-world counterparts, maintaining the topographic relations of the rooms, their original area, and location relative to the world sides. The illustration (see Figure 7) shows a comparison of the benchmark original floor plans (their simplified rectilinear representation—dark green) with the solutions generated by the program (light green). Particularly noteworthy is the example of Simon (see Figure 7(b)) where the result is a mirror image of the original. Figure 7(a) shows the original Flo benchmark floor layout and the example created by ELISi. Both layouts overlap in the general arrangement of functional zones, room areas, and topological connectivity. On the right side of the floor layout, there is a sleeping area consisting of three bedrooms and a bathroom, separated from the living area (living room, kitchen) and utility zone (utility room and garage) by a central communication zone. The resulting layout is compact. Small differences in the location of rooms (bathroom, double bedroom) maintain the consistency of functional zones. Figure 7(b) presents an example of the Simon benchmark (the most complex functional system). The layout created by ELISi is a mirror image of the original. Functional zones and the room areas coincide with the original. The resulting floor does not have a regular envelope as the original but retains its general geometric and topological properties: an extended garage located near the utility and kitchen zone connected with the living room separated from the sleeping area by a communication zone. Figure 7(c) shows examples of Logan benchmark floor layouts created by ELISi. Both generated layouts are compact, the location of zones and the main spaces (kitchen, living room, garage) coincide with the original. The differences in the central part of the layout occur within one functional zone. The lack of spaces such as bedrooms results from the fact that for the research purposes, only the functional programs of the ground floors were taken into account.

Comparison: of the benchmark original floor plans (dark green) and the solutions generated by the program (light green) after implementation of additional evaluation criteria: (a) Flo example, (b) Simon example, and (c) Logan example.
The linear composition of the partial evaluation functions is a simplified model of multi-criteria optimization. In the near future, ELISi will be developed primarily based on the introduction of full multi-criteria optimization (using existing algorithms such as NSGA-II) and GUI full integration with the logical core of the proposed software.
Footnotes
Acknowledgements
The authors would like to thank Solene Veysseyre for her research materials regarding the America favelas. The authors would like to thank Archipelag design studio (Wrocław, Poland) for their contribution, support, and providing three architectural projects (Flo, Simon, and Logan) that increased the quality of our research.
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) received no financial support for the research, authorship, and/or publication of this article.
