Skip to main content

restore_agents

Function restore_agents 

Source
pub fn restore_agents(colony: &mut Colony, state: &GraphState) -> usize
Expand description

Restore agents from a GraphState into a colony.

This is a convenience function that handles all built-in agent types. Returns the number of agents successfully restored.