Skip to main content
×
×
Home

Algorithmic complexity of shape grammar implementation

  • Thomas Wortmann (a1) and Rudi Stouffs (a2)
Abstract

Computer-based shape grammar implementations aim to support creative design exploration by automating rule-application. This paper reviews existing shape grammar implementations in terms of their algorithmic complexity, extends the definition of shape grammars with sets of transformations for rule application, categorizes (parametric and non-parametric) sets of transformations, and analyses these categories in terms of the resulting algorithmic complexity. Specifically, it describes how different sets of transformations admit different numbers of targets (i.e., potential inputs) for rule application. In the non-parametric case, this number is quadratic or cubic, while in the parametric case, it can be non-polynomial, depending on the size of the target shape. The analysis thus yields lower bounds for the algorithmic complexity of shape grammar implementations that hold independently of the employed algorithm or data structure. Based on these bounds, we propose novel matching algorithms for non-parametric and parametric shape grammar implementation and analyze their complexity. The results provide guidance for future, general-purpose shape grammar implementations for design exploration.

Copyright
Corresponding author
Author for correspondence: Thomas Wortmann, E-mail: thomas_wortmann@mymail.sutd.edu.sg
References
Hide All
Batz, GV (2006) An Optimization Technique for Subgraph Matching Strategies (Internal Report No. 7). Institut für Programmstrukturen und Datenorganisation, Fakultät für Informatik, Universität Karlsruhe (TH), DE.
Chau, HH, Chen, X, McKay, A and de Pennington, A (2004) Evaluation of a 3D shape grammar implementation. In Gero JS (ed.). Design Computing and Cognition'04. Dordrecht, NL: Springer, pp. 357376.
Cormen, TH, Leiserson, CE, Rivest, R and Stein, C (2009) Introduction to Algorithms, 3rd edn. Cambridge, MA: MIT Press.
Dorn, F (2010) Planar subgraph isomorphism revisited. In Proceedings of the 27th International Symposium on Theoretical Aspects of Computer Science.
Duarte, JP (2001) Customizing Mass Housing: A Discursive Grammar for Siza's Malagueira Houses, Ph.D. Dissertation. Boston, MA: Massachusetts Institute of Technology.
Frank, AU (1999) One step up the abstraction ladder: Combining algebras-from functional pieces to a whole. In Proceedings of the International Conference on Spatial Information Theory: Cognitive and Computational Foundations of Geographic Information Science. London, UK: Springer.
Garey, MR and Johnson, DS (1979) Computers and Intractability: A Guide to the Theory of NP-Completeness. New York, NY, USA: W. H. Freeman & Co.
Gips, J (1999) Computer implementation of shape grammars. NSF/MIT Workshop on Shape Computation.
Grasl, T and Economou, A (2013) From topologies to shapes: parametric shape grammars implemented by graphs. Environment and Planning B: Planning and Design 40(5), 905922.
Knight, TW (1989) Color grammars: designing with lines and colors. Environment and Planning B: Planning and Design 16(4), 417449.
Knight, TW (1993) Color grammars: the representation of form and color in designs. Leonardo 26(2), 117124.
Krishnamurti, R (1981) The construction of shapes. Environment and Planning B: Planning and Design 8(1), 540.
Krishnamurti, R and Stouffs, R (1997) Spatial change: continuity, reversibility, and emergent shapes. Environment and Planning B: Planning and Design 24(3), 359384.
Kukluk, JP, Holder, LB and Cook, DJ (2004) Algorithm and experiments in testing planar graphs for isomorphism. Journal of Graph Algorithms and Applications 8(2), 313356.
Mitchell, WJ (1993) A computational view of design creativity. In Gero, JS and Maher, ML (eds). Modeling Creativity and Knowledge-Based Creative Design. Hillsdale, NJ: Lawrence Erlbaum, pp. 2542.
Sloane, NJA and Arndt, J (eds) (2010) The On-Line Encyclopedia of Integer Sequences. Available online at https://oeis.org
Stiny, G (1977) Ice-ray: a note on the generation of Chinese lattice designs. Environment and Planning B: Planning and Design 4(1), 8998.
Stiny, G (1980) Introduction to shape and shape grammars. Environment and Planning B 7(3), 343351.
Stiny, G (1981) A note on the description of designs. Environment and Planning B: Planning and Design 8(3), 257267.
Stiny, G (1990) What is a design? Environment and Planning B: Planning and Design 17(1), 97103.
Stiny, G (1992) Weights. Environment & Planning B: Planning and Design 19, 413430.
Stiny, G (1994) Shape rules: closure, continuity, and emergence. Environment and Planning B: Planning and Design 21(7), S49S78.
Stiny, G (2006). Shape: talking about seeing and doing. Cambridge, MA: MIT Press.
Stiny, G (2011) What rule(s) should I use? Nexus Network Journal 13(1), 1547.
Stiny, G and Mitchell, WJ (1978 a) Counting palladian plans. Environment and Planning B: Planning and Design 5(2), 189198.
Stiny, G and Mitchell, WJ (1978 b) The palladian grammar. Environment and Planning B: Planning and Design 5(1), 518.
Stouffs, R (2017) A practical shape grammar for Chinese ice-ray lattice designs. In Cultural DNA Workshop: Computational studies on the cultural variation and heredity. Daejeon, KR.
Stouffs, R (2018) Implementation issues of parallel shape grammars. Artificial Intelligence for Engineering Design, Analysis and Manufacturing. doi: 10.1017/S0890060417000270.
Stouffs, R and Krishnamurti, R (2002) Representational flexibility for design. In Gero, JS (ed.). Artificial Intelligence in Design ‘02. Springer Netherlands, pp. 105128.
Stouffs, R and Krishnamurti, R (2006) Algorithms for classifying and constructing the boundary of a shape. Journal of Design Research 5(1), 5495.
Strobbe, T, Pauwels, P, Verstraeten, R, De Meyer, R and Van Campenhout, J (2015) Toward a visual approach in the exploration of shape grammars. Artificial Intelligence for Engineering Design, Analysis and Manufacturing 29(04), 503521.
Tapia, M (1992) Chinese lattice designs and parametric shape grammars. The Visual Computer 9(1), 4756.
Tapia, M (1999) A visual implementation of a shape grammar system. Environment and Planning B: Planning and Design 26(1), 5973.
Trescak, T, Esteva, M and Rodriguez, I (2012) A shape grammar interpreter for rectilinear forms. Computer-Aided Design 44(7), 657670.
Wortmann, T (2013) Representing Shapes as Graphs, SMArchS Thesis. Cambridge, MA: Massachusetts Institute of Technology.
Yue, K and Krishnamurti, R (2013) Tractable shape grammars. Environment and Planning B: Planning and Design 40(4), 576594.
Yue, K and Krishnamurti, R (2014) A paradigm for interpreting tractable shape grammars. Environment and Planning B: Planning and Design 41(1), 110137.
Recommend this journal

Email your librarian or administrator to recommend adding this journal to your organisation's collection.

AI EDAM
  • ISSN: 0890-0604
  • EISSN: 1469-1760
  • URL: /core/journals/ai-edam
Please enter your name
Please enter a valid email address
Who would you like to send this to? *
×

Keywords

Metrics

Full text views

Total number of HTML views: 0
Total number of PDF views: 0 *
Loading metrics...

Abstract views

Total abstract views: 0 *
Loading metrics...

* Views captured on Cambridge Core between <date>. This data will be updated every 24 hours.

Usage data cannot currently be displayed