Macro total_space::init_agent_type_data[][src]

macro_rules! init_agent_type_data {
    ($name:ident, $agent_type:expr) => { ... };
}

A macro for initializing a global variable containing an agent type.

This initializes the variable declared by declare_agent_type_data. Usage is init_agent_type_data! { TYPE_NAME, agent_type } passing it the the agent_type created to initialize the model.