Function read_agent_objectives
Source pub fn read_agent_objectives(
model_dir: &Path,
agents: &AgentMap,
milestone_years: &[u32],
) -> Result<HashMap<AgentID, Vec<AgentObjective>>>
Expand description
Read agent objective info from the agent_objectives.csv file.
§Arguments
model_dir
- Folder containing model configuration files
§Returns
A map of Agents, with the agent ID as the key