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