Function get_candidate_assets

Source
fn get_candidate_assets<'a>(
    time_slice_info: &'a TimeSliceInfo,
    demand: &'a IndexMap<TimeSliceID, Flow>,
    agent: &'a Agent,
    region_id: &'a RegionID,
    commodity: &'a Commodity,
    year: u32,
) -> impl Iterator<Item = AssetRef> + 'a
Expand description

Get candidate assets which produce a particular commodity for a given agent