pub fn random_id<S, A, Store, Props, R, Sch>(
model: &mut StandardModel<S, A, Store, Props, R, Sch>,
) -> Option<AgentId>where
A: Agent,
S: Space,
Store: AgentStore<A>,
R: RngCore,
Sch: Scheduler<StandardModel<S, A, Store, Props, R, Sch>>,Expand description
Pick a random agent ID from the model.
Returns None if the agent store is empty.