muse2::simulation::update

Function update_remaining_commodity_prices

Source
fn update_remaining_commodity_prices<I>(
    _commodity_ids: I,
    _prices: &mut CommodityPrices,
)
where I: Iterator<Item = Rc<str>>,
Expand description

Update prices for any commodity not updated by the dispatch step.

TODO: This will likely take additional arguments, depending on how we decide to do this step

ยงArguments

  • commodity_ids - IDs of commodities to update
  • prices - Commodity prices