Function read_agent_search_space

Source
pub fn read_agent_search_space(
    model_dir: &Path,
    agents: &AgentMap,
    process_ids: &IndexSet<ProcessID>,
    commodities: &CommodityMap,
    milestone_years: &[u32],
) -> Result<HashMap<AgentID, Vec<AgentSearchSpace>>>
Expand description

Read agent search space info from the agent_search_space.csv file.

§Arguments

  • model_dir - Folder containing model configuration files

§Returns

A map of Agents, with the agent ID as the key