read_agents_file

Function read_agents_file 

Source
fn read_agents_file(
    model_dir: &Path,
    region_ids: &IndexSet<RegionID>,
) -> Result<AgentMap>
Expand description

Read agents info from the agents.csv file.

§Arguments

  • model_dir - Folder containing model configuration files
  • region_ids - The possible valid region IDs

§Returns

A map of agents keyed by agent ID