Move stuff around

This commit is contained in:
Anders Olsson
2023-10-26 11:01:14 +02:00
parent 72e06eb536
commit 755a5ea668
2 changed files with 10 additions and 15 deletions

View File

@@ -1,15 +1,8 @@
# History
```shell
teams: [[player]]
weights: [[f64]]
results: [f64]
```rust
let mut history = History::new();
player: (gaussian, f64, f64)
players: [player]
weights: [f64]
teams: [([(player, weight)], result)]
let agent_a = history.new_agent();
let agent_b = history.new_agent_with_prior(Prior::new(Gaussian::default(), BETA, GAMMA));
```