Hostname: page-component-77f85d65b8-lfk5g Total loading time: 0 Render date: 2026-04-21T10:18:40.674Z Has data issue: false hasContentIssue false

Algorithmic complexity of shape grammar implementation

Published online by Cambridge University Press:  09 May 2018

Thomas Wortmann*
Affiliation:
Singapore University of Technology and Design, Architecture and Sustainable Design, 20 Dover Drive, Singapore 138682, Singapore
Rudi Stouffs
Affiliation:
Department of Architecture, National University of Singapore, 4 Architecture Drive, Singapore 117566, Singapore
*
Author for correspondence: Thomas Wortmann, E-mail: thomas_wortmann@mymail.sutd.edu.sg

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.

Information

Type
Regular Articles
Copyright
Copyright © Cambridge University Press 2018 

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Article purchase

Temporarily unavailable