Function popdat::generate_scenario[][src]

pub fn generate_scenario(
    scenario_name: &str,
    areas: Vec<CensusArea>,
    config: Config,
    map: &Map,
    rng: &mut XorShiftRng
) -> Scenario
Expand description

Wires together all the pieces, so you can just hand this any map, and it’ll automatically find appropriate census data, and use it to produce a Scenario.