pub fn read_agent_regions(
model_dir: &Path,
agent_ids: &HashSet<Rc<str>>,
region_ids: &HashSet<Rc<str>>,
) -> Result<HashMap<Rc<str>, RegionSelection>>
Expand description
Read the agent regions file.
§Arguments
model_dir
- Folder containing model configuration filesagent_ids
- The possible valid agent IDsregion_ids
- The possible valid region IDs
§Returns
A map of RegionSelection
s, with the agent ID as the key.