muse2::input::agent::objectiveFunction read_agent_objectives
Source pub fn read_agent_objectives(
model_dir: &Path,
agents: &HashMap<Rc<str>, Agent>,
) -> Result<HashMap<Rc<str>, 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