Function aoc::year2022::day19::next

source ·
fn next(
    blueprint: &Blueprint,
    result: &mut u32,
    time: u32,
    bots: Mineral,
    resources: Mineral,
    new_bot: Mineral,
    cost: Mineral,
)
Expand description

“Fast forward” in time until we can build a robot of a particular type. This could possibly by the next minute if we already have enough resources.