|
|
@ -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..."); |
|
|
|