1 2 3 4 5 6 7 8 9 10 11 12 13 14
use rand_xorshift::XorShiftRng; use map_model::Map; use crate::{CensusArea, CensusPerson}; pub fn assign_people_to_houses( areas: Vec<CensusArea>, map: &Map, rng: &mut XorShiftRng, ) -> Vec<CensusPerson> { // TODO We should generalize the approach of distribute_residents from importer/src/berlin.rs todo!() }