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