Hostname: page-component-74656f9884-npj9w Total loading time: 0 Render date: 2026-11-07T11:59:14.272Z Has data issue: false hasContentIssue false

A graph-theoretic implementation of the Rabo-de-Bacalhau transformation grammar

Published online by Cambridge University Press:  18 April 2016

Tiemen Strobbe*
Affiliation:
Department of Architecture and Urban Planning, Ghent University, Ghent, Belgium
Sara Eloy
Affiliation:
Department of Architecture and Urbanism, Instituto Universitário de Lisboa (ISCTE-IUL, ISTAR-IUL), Lisbon, Portugal
Pieter Pauwels
Affiliation:
Department of Architecture and Urban Planning, Ghent University, Ghent, Belgium
Ruben Verstraeten
Affiliation:
Department of Architecture and Urban Planning, Ghent University, Ghent, Belgium
Ronald De Meyer
Affiliation:
Department of Architecture and Urban Planning, Ghent University, Ghent, Belgium
Jan Van Campenhout
Affiliation:
Department of Electronics and Information Systems, Ghent University, Ghent, Belgium
*
Reprint requests to: Tiemen Strobbe, Department of Architecture and Urban Planning, Ghent University, J. Plateaustraat 22, Ghent 9000, Belgium. E-mail: tiemen.strobbe@ugent.be
Rights & Permissions [Opens in a new window]

Abstract

Shape grammars are rule-based formalisms for the specification of shape languages. Most of the existing shape grammars are developed on paper and have not been implemented computationally thus far. Nevertheless, the computer implementation of shape grammar is an important research question, not only to automate design analysis and generation, but also to extend the impact of shape grammars toward design practice and computer-aided design tools. In this paper, we investigate the implementation of shape grammars on a computer system, using a graph-theoretic representation. In particular, we describe and evaluate the implementation of the existing Rabo-de-Bacalhau transformation grammar. A practical step-by-step approach is presented, together with a discussion of important findings noticed during the implementation and evaluation. The proposed approach is shown to be both feasible and valuable in several aspects: we show how the attempt to implement a grammar on a computer system leads to a deeper understanding of that grammar, and might result in the further development of the grammar; we show how the proposed approach is embedded within a commercial computer-aided design environment to make the shape grammar formalism more accessible to students and practitioners, thereby increasing the impact of grammars on design practice; and the proposed step-by-step implementation approach has shown to be feasible for the implementation of the Rabo-de-Bacalhau transformation grammar, but can also be generalized using different ontologies for the implementation.

Information

Type
Special Issue Articles
Copyright
Copyright © Cambridge University Press 2016 
Figure 0

Fig. 1. The type graph defines the node and edge types used for the grammar implementation. If an indefinite number of nodes or connections is allowed between node and edge types, this is indicated using an asterisk (*).

Figure 1

Fig. 2. (a) Example of a shape of one square embedded in another, and its corresponding part-relation graph with vertex nodes (white), edge nodes (black), and edge-vertex relations (arrow). Because the shape is represented using maximal lines, the two squares can be found using identical graph search patterns (b and c). The node attributes are not shown in this figure.

Figure 2

Fig. 3. (Left) Example of a floor plan. (Right) Attributed part-relation graph with geometrical and nongeometrical nodes. The relations between the nodes are indicated by edges: edge-vertex (ev), space-edge (se), space-vertex (sv), edge-wall (ew), wall-door (wd), and wall-window (ww).

Figure 3

Fig. 4. Integration of the shape grammar implementation system within a wider computer-aided design environment. The output results of the graph transformation process are shown in the visual interface.

Figure 4

Fig. 5. Compound representation of an existing Rabo-de-Bacalhau dwelling: (a) floor plan representation of the dwelling, (b) topological configuration of spaces in the dwelling (continuous lines for door connections and hidden lines for adjacency between rooms), (c) representation of spatial voids in the floor plan, (d) labels, and (e) weights. This image is reproduced from A Transformation Grammar-Based Methodology for Housing Rehabilitation: Meeting Contemporary Functional and ICT Requirements, by S. Eloy, 2012, PhD Thesis, TU Lisbon. Copyright 2012 by S. Eloy. Reprinted with permission.

Figure 5

Fig. 6. (Left) Original floor plan from a Rabo-de-Bacalhau dwelling described in the work of Eloy (2012). (Right) Attributed part-relation graph of the floor plan. For illustrative purposes, the edge types are not shown, and only one node attribute is shown (function f).

Figure 6

Fig. 7. (Left) Model of a Rabo-de-Bacalhau dwelling in Autodesk REVIT 2014 and (right) visual representation of the dwelling in the graph rewriting environment.

Figure 7

Fig. 8. Example rule from the Rabo-de-Bacalhau transformation grammar: assignment of hall. This image is adapted from A Transformation Grammar-Based Methodology for Housing Rehabilitation: Meeting Contemporary Functional and ICT Requirements, by S. Eloy, 2012, PhD Thesis, TU Lisbon. Copyright 2012 by S. Eloy. Adapted with permission.

Figure 8

Fig. 9. Graph representation of the hall assignment rule, consisting of (left) a pattern graph, (right) a replacement graph, and (bottom) attribute conditions and negative application conditions. The numbers indicate the rule morphism between the pattern graph and the replacement graph.

Figure 9

Fig. 10. Two possible rule applications of the assignment rule. The space nodes with labels Fb and F are matched to the lift hall and the entrance adjacent to the lift hall, respectively. The space node with label Ff can be matched to two different nonhabitable spaces in the Rabo-de-Bacalhau dwelling.

Figure 10

Fig. 11. Example rule from the Rabo-de-Bacalhau transformation grammar: connecting two adjacent spaces by eliminating part of a straight wall. Only the conditions for private spaces are shown here. This image is adapted from A Transformation Grammar-Based Methodology for Housing Rehabilitation: Meeting Contemporary Functional and ICT Requirements, by S. Eloy, 2012, PhD Thesis, TU Lisbon. Copyright 2012 by S. Eloy. Adapted with permission.

Figure 11

Fig. 12. Graph representation of the adjacent space connecting rule, consisting of (left) a pattern graph, (right) a replacement graph, and (bottom) attribute conditions and negative application conditions.

Figure 12

Fig. 13. Example rule from the Rabo-de-Bacalhau transformation grammar: dividing a private bathroom space by adding a wall. This image is adapted from A Transformation Grammar-Based Methodology for Housing Rehabilitation: Meeting Contemporary Functional and ICT Requirements, by S. Eloy, 2012, PhD Thesis, TU Lisbon. Copyright 2012 by S. Eloy. Adapted with permission.

Figure 13

Fig. 14. Graph representation of the division rule, consisting of (left) a pattern graph, (right) a replacement graph, and (bottom) attribute conditions.

Figure 14

Fig. 15. Example of a derivation of a possible Rabo-de-Bacalhau dwelling. The shape rule used at each step of the derivation is shown between the intermediary steps. For illustrative purposes, several derivation steps are merged.

Figure 15

Table 1. The labels used for the representation of housing designs

Figure 16

Table 2. The transformation rules used during the derivation process

Figure 17

Fig. 16. Four alternative automated productions of other Rabo-de-Bacalhau dwellings, based on the same initial design of Figure 15 and the same inhabitants requirements. The resulting designs show some variation in the placement of the dining room, the private bathroom, and the corridors.

Figure 18

Fig. 17. Screenshot taken during the derivation process of one Rabo-de-Bacalhau dwelling (top left) : the rules are shown in a textual manner, (bottom left) the current design state is shown in a visual manner, and (right) the possible design alternatives are enumerated in a list. The changes in the floor plan resulting from the rule applications are indicated in red.