Add timing output.

This commit is contained in:
hal8174 2024-09-08 22:56:32 +02:00
parent 79c8b0c710
commit 29450a1c65
2 changed files with 24 additions and 7 deletions

View file

@ -19,7 +19,7 @@ fn main() {
dbg!(&p);
let mut g = GeneticAlgorithm::new(&p, 40, 5, 5, &mut rng);
let mut g = GeneticAlgorithm::new(&p, 20, 2, 0, &mut rng);
for i in 0..100 {
println!("Generatrion {i}");