Skip to main content

Table 2 Agent storage layout

From: A theoretical formalism for analyzing agent-based models

Register

Contents

I

The first of j registers needed to store the agent attributes.

i + j-1

The last of j registers needed to store the agent attributes.

i + j

The head of a linked list used to store dynamically generated agent behaviors, if any.

i + j + 1

The first of k registers needed to store the heads of doubly linked lists used to store network links for network 1.

i + j + k

The last of k registers needed to store the heads of doubly linked lists used to store network links for network k.

i + j + k + 1

The address of the next agent in the agent list.

i + j + k + 2

The address of the previous agent in the agent list.