muse2::input::agent

Function read_agents_file_from_iter

Source
fn read_agents_file_from_iter<I>(
    iter: I,
    commodities: &HashMap<Rc<str>, Rc<Commodity>>,
    process_ids: &HashSet<Rc<str>>,
) -> Result<HashMap<Rc<str>, Agent>>
where I: Iterator<Item = AgentRaw>,
Expand description

Read agents info from an iterator.