Print house count at start
This commit is contained in:
parent
9bd654a8e6
commit
71aaabdec4
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ fn main() {
|
||||||
eprintln!("Starting random population, using DB ({}-{} {})...",
|
eprintln!("Starting random population, using DB ({}-{} {})...",
|
||||||
MIN_WEIGHT_SCORE, MAX_WEIGHT_SCORE, DB_CHOICE_PROBABILITY);
|
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);
|
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 {
|
loop {
|
||||||
let mut improved = false;
|
let mut improved = false;
|
||||||
eprintln!("Starting moving individual houses...");
|
eprintln!("Starting moving individual houses...");
|
||||||
|
|
Loading…
Reference in a new issue