Macro total_space::agent_index [−][src]
A macro for accessing a global variable containing agent index.
Usage is agent_index!(NAME)
for singleton agent types or agent_index!(NAME[instance])
non
for singleton agent types, for accessing the global variable declared by declare_agent_index
or declare_agent_indices
.