[−][src]Function popdat::generate_scenario
pub fn generate_scenario(
scenario_name: &str,
areas: Vec<CensusArea>,
config: Config,
map: &Map,
rng: &mut XorShiftRng
) -> Scenario
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.