Back to search

University of Saskatchewan

Capturing cross-cutting concerns in agent-based models using computational effects

Abstract

dc:description.abstract

Agent-based modelling is a powerful technique for modelling complex, interconnected, real-world phenomena, but suffers from difficulties in writing maintainable and extensible models using extant frameworks. It has been suggested that agent-based models may benefit in aspects of software engineering such as maintainability and model clarity through the use of DSLs, aspect-oriented programming, and pure functional programming. Bringing these lines of work together, we cover the development of an agent-based modelling DSL and framework in Haskell and Koka, represented using an effect system. The framework we developed displays improvements in aspects of software engineering such as model clarity, separation of concerns, code reuse, flexibility, and composition, partially through access to pure functional programming from the DSL being embedded in these languages. We describe several example models built using the framework we developed, including Conway's Game of Life, Schelling Segregation Scenario, and Predator--Prey (Lotka--Volterra) dynamics.

Degree

thesis:*
Name thesis:degree_name
Master of Science (M.Sc.)
Level thesis:degree_level
Masters
Discipline thesis:degree_discipline
Computer Science
Department thesis:degree_department
Computer Science
Grantor
University of Saskatchewan
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Alegre, Alex
Advisor dc:contributor.advisor
  • Osgood, Nathaniel D
Committee members dc:contributor.committeemember
  • Dutchyn, Christopher
  • Jamali, Nadeem
  • Gutwin, Carl
ORCID person:identifier.orcid

Subjects

dc:subject × 14

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/10388/17401

Chain of custody

source
Harvested from
University of Saskatchewan
Base URL
harvest.usask.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Alegre, Alex. Capturing cross-cutting concerns in agent-based models using computational effects. Masters thesis, University of Saskatchewan, 2025. https://hdl.handle.net/10388/17401