Improve binary heap performance
This commit is contained in:
parent
66f40b4aa4
commit
e6e5001334
5 changed files with 241 additions and 142 deletions
|
|
@ -27,8 +27,8 @@ fn main() {
|
|||
dbg!(&factory_graph);
|
||||
|
||||
let l = ValidLayout {
|
||||
max_tries: 10,
|
||||
retries: 20,
|
||||
max_tries: 4,
|
||||
retries: 4,
|
||||
start_size: Position::new(64, 64),
|
||||
growth: Position::new(4, 4),
|
||||
};
|
||||
|
|
@ -38,7 +38,7 @@ fn main() {
|
|||
population_size: 40,
|
||||
population_keep: 5,
|
||||
population_new: 5,
|
||||
generations: 40,
|
||||
generations: 80,
|
||||
valid_layout: l,
|
||||
};
|
||||
let p = ConflictAvoidance {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue