Print house count at start

This commit is contained in:
Jirka Sejkora 2021-01-11 05:26:13 +01:00
parent 9bd654a8e6
commit 71aaabdec4

View file

@ -35,7 +35,7 @@ fn main() {
eprintln!("Starting random population, using DB ({}-{} {})...",
MIN_WEIGHT_SCORE, MAX_WEIGHT_SCORE, DB_CHOICE_PROBABILITY);
population::populate_using_db(&mut layout, &mut rng, &db, MIN_WEIGHT_SCORE, MAX_WEIGHT_SCORE, DB_CHOICE_PROBABILITY);
eprintln!("Finished random init, price: {}", layout.price());
eprintln!("Finished random init, price: {}, houses: {}", layout.price(), layout.houses().len());
loop {
let mut improved = false;
eprintln!("Starting moving individual houses...");