macro_rules! init_agent_indices {
($name:ident, $agent_type:expr) => { ... };
}Expand description
A macro for initializing a global variable containing singleton agent index.
Usage is init_agent_indices! { NAME, agent_type }. It will initialize the global variable
created by declare_agent_indices using the (non-singleton) agent_type created to initialize
the model.