License: Creative Commons Attribution 3.0 Unported license (CC BY 3.0)
When quoting this document, please refer to the following
DOI: 10.4230/OASIcs.SLATE.2018.7
URN: urn:nbn:de:0030-drops-92658
URL: http://dagstuhl.sunsite.rwth-aachen.de/volltexte/2018/9265/
Go to the corresponding OASIcs Volume Portal


Ferreira, Bruno ; Leitão, António Menezes

Context-Oriented Algorithmic Design

pdf-format:
OASIcs-SLATE-2018-7.pdf (1 MB)


Abstract

Currently, algorithmic approaches are being introduced in several areas of expertise, namely Architecture. Algorithmic Design (AD) is an approach for architecture that takes advantage of algorithms to produce complex designs, to simplify the exploration of variations, or to mechanize tasks, including those related to analysis and optimization of designs. However, architects might need different models of the same design for different kinds of analysis, which tempts them to extend the same code base for different purposes, typically making the code brittle and hard to understand. In this paper, we propose to extend AD with Context-Oriented Programming (COP), a programming paradigm based on context that dynamically changes the behavior of the code. To this end, we propose a COP library and we explore its combination with an AD tool. Finally, we implement two case studies with our context-oriented approach, and discuss their advantages and disadvantages when compared to the traditional AD approach.

BibTeX - Entry

@InProceedings{ferreira_et_al:OASIcs:2018:9265,
  author =	{Bruno Ferreira and Ant{\'o}nio Menezes Leit{\~a}o},
  title =	{{Context-Oriented Algorithmic Design}},
  booktitle =	{7th Symposium on Languages, Applications and Technologies  (SLATE 2018)},
  pages =	{7:1--7:14},
  series =	{OpenAccess Series in Informatics (OASIcs)},
  ISBN =	{978-3-95977-072-9},
  ISSN =	{2190-6807},
  year =	{2018},
  volume =	{62},
  editor =	{Pedro Rangel Henriques and Jos{\'e} Paulo Leal and Ant{\'o}nio Menezes Leit{\~a}o and Xavier G{\'o}mez Guinovart},
  publisher =	{Schloss Dagstuhl--Leibniz-Zentrum fuer Informatik},
  address =	{Dagstuhl, Germany},
  URL =		{http://drops.dagstuhl.de/opus/volltexte/2018/9265},
  URN =		{urn:nbn:de:0030-drops-92658},
  doi =		{10.4230/OASIcs.SLATE.2018.7},
  annote =	{Keywords: context-oriented programming, algorithmic design, Python}
}

Keywords: context-oriented programming, algorithmic design, Python
Collection: 7th Symposium on Languages, Applications and Technologies (SLATE 2018)
Issue Date: 2018
Date of publication: 13.07.2018


DROPS-Home | Fulltext Search | Imprint | Privacy Published by LZI