<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="static/style.xsl"?><OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd"><responseDate>2026-11-23T09:31:27Z</responseDate><request verb="GetRecord" identifier="oai:digital.lib.washington.edu:1773/56991" metadataPrefix="dim">https://digital.lib.washington.edu/server/oai/request</request><GetRecord><record><header><identifier>oai:digital.lib.washington.edu:1773/56991</identifier><datestamp>2026-08-12T10:18:17Z</datestamp><setSpec>com_1773_4888</setSpec><setSpec>col_1773_19652</setSpec></header><metadata><dim:dim xmlns:dim="http://www.dspace.org/xmlns/dspace/dim" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:doc="http://www.lyncode.com/xoai" xsi:schemaLocation="http://www.dspace.org/xmlns/dspace/dim http://www.dspace.org/schema/dim.xsd">
   <dim:field mdschema="dc" element="contributor" qualifier="advisor">Fukuda, Munehiro</dim:field>
   <dim:field mdschema="dc" element="contributor" qualifier="author">Pratap Singh, Rishabh</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="accessioned">2026-08-11T19:18:30Z</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="issued">2026-08-11</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="submitted">2026</dim:field>
   <dim:field mdschema="dc" element="identifier" qualifier="other">PratapSingh_washington_0250O_29847.pdf</dim:field>
   <dim:field mdschema="dc" element="identifier" qualifier="uri">https://hdl.handle.net/1773/56991</dim:field>
   <dim:field mdschema="dc" element="description">Thesis (Master&amp;apos;s)--University of Washington, 2026</dim:field>
   <dim:field mdschema="dc" element="description" qualifier="abstract">MASS (Multi-Agent Spatial Simulation) C++ is a parallel computing library for agent-based simulations on distributed memory clusters, organised around the Bulk Synchronous
Parallel model and a master-worker coordination scheme. Three structural limitations have
constrained its applicability as a general-purpose runtime. An integer-based method dispatch
scheme couples user-defined Place and Agent classes to the framework and propagates
renumbering errors silently. A per-iteration master coordination cost of K ×N (K operations
×N iterations) barrier round-trips dominates wall-clock time on communication-intensive
workloads. And a Places abstraction restricted to regular grids leaves social, biological, and
transportation graphs without first-class support. This thesis presents three feature extensions that address these limitations while preservingbackward compatibility with existing MASS C++ programs. A three-tier dispatch architecture
replaces integer switch/case with string-named methods, header-defined lambdas, and JIT-
compiled lambdas, unified through a single dispatch registry. A phase-pipeline builder
(IterationConfig) backed by an asynchronous handle-based executor lets the user record
an entire iteration as one dispatch, collapsing the K ×N master round-trip pattern into
a single dispatch by allowing workers to advance through compute, communication, and
agent-management phases autonomously. A graph stack extends MASS C++ from grid-
only topologies to arbitrary graphs, with bidirectional adjacency, locality-aware edge-cut
partitioning, edge-constrained agent migration, Pregel-inspired combiners and aggregators,
and a pluggable parser interface for user-defined graph formats. This thesis evaluates the extensions on five benchmarks (Wave2D, SugarScape, PageRank,BFS Wavefront, and Random Walk) covering correctness, performance, and programmability.
Compound execution reduces barrier round-trips by orders of magnitude and yields speedups
that grow with the number of workers on Places-only workloads. SugarScape scaling exposes
an O(P 2) bottleneck (where P is the worker count) in the existing all-to-all agent exchange
protocol, which caps compound speedup as P grows and motivates the sparse neighbour-rank
exchange that graph-migrating agents adopt. The graph stack also positions MASS C++ as
the only system surveyed in Section 3 that supports mobile agents over irregular topologies
while remaining a drop-in extension of the existing grid-based runtime. The new lambda
dispatch tiers cut user-written lines of code by 20–34% across the evaluated benchmarks
against native methods, at per-call overheads under∼15% on compute-heavy stencils and
rising to∼25% on operation-dense agent workloads.</dim:field>
   <dim:field mdschema="dc" element="format" qualifier="mimetype">application/pdf</dim:field>
   <dim:field mdschema="dc" element="language" qualifier="iso">en_US</dim:field>
   <dim:field mdschema="dc" element="rights">CC BY</dim:field>
   <dim:field mdschema="dc" element="subject">Computer science</dim:field>
   <dim:field mdschema="dc" element="subject" qualifier="other">Computing and software systems</dim:field>
   <dim:field mdschema="dc" element="title">Feature Extension of MASS C++ towards a General Purpose Library</dim:field>
   <dim:field mdschema="dc" element="type">Thesis</dim:field>
   <dim:field mdschema="dc" element="embargo" qualifier="terms">Open Access</dim:field>
   <dim:field mdschema="others" element="access-status">open.access</dim:field>
</dim:dim>
</metadata></record></GetRecord></OAI-PMH>