agents_count

Macro agents_count 

Source
macro_rules! agents_count {
    ($name:ident) => { ... };
}
Expand description

A macro for accessing the number of agent instances.

Usage is agents_count!(NAME). It will access the global variable declared by declare_agent_indices to access the number of instances of agents of some (non-singleton) type.