}
renormalize(mu, sigma, num_players);
- dump_scores(players, mu, sigma, num_players);
-
for (int j = 0; j < 100; ++j) {
float old_mu[MAX_PLAYERS];
float old_sigma[MAX_PLAYERS];
for (int i = 0; i < num_players; ++i) {
update_mu(mu, sigma, i, matches_for_player[i]);
renormalize(mu, sigma, num_players);
- dump_scores(players, mu, sigma, num_players);
}
/* for (int i = 0; i < num_players; ++i) {
update_sigma(mu, sigma, i, matches_for_player[i]);
break;
}
}
+ dump_scores(players, mu, sigma, num_players);
// construct_fim(mu, sigma, num_players);
}