Small refactor

This commit is contained in:
2022-12-27 22:37:12 +01:00
parent 8e25826f91
commit e3906aebaa
6 changed files with 358 additions and 163 deletions

View File

@@ -19,21 +19,21 @@ fn criterion_benchmark(criterion: &mut Criterion) {
map.insert(
a,
Agent {
player: Player::new(Gaussian::new(MU, SIGMA), BETA, GAMMA),
player: Player::new(Gaussian::from_ms(MU, SIGMA), BETA, GAMMA),
..Default::default()
},
);
map.insert(
b,
Agent {
player: Player::new(Gaussian::new(MU, SIGMA), BETA, GAMMA),
player: Player::new(Gaussian::from_ms(MU, SIGMA), BETA, GAMMA),
..Default::default()
},
);
map.insert(
c,
Agent {
player: Player::new(Gaussian::new(MU, SIGMA), BETA, GAMMA),
player: Player::new(Gaussian::from_ms(MU, SIGMA), BETA, GAMMA),
..Default::default()
},
);