Rituals are more or less sorted out in theory, and they helped find a cycle in the GOAP algorithm that I'm detecting/preventing.
This commit is contained in:
parent
8368d2e751
commit
49531ba148
9 changed files with 94 additions and 48 deletions
|
@ -1,10 +1,10 @@
|
|||
#include "stats.hpp"
|
||||
#include <fmt/core.h>
|
||||
|
||||
void Stats::dump()
|
||||
void Stats::dump(std::string msg)
|
||||
{
|
||||
fmt::println("sum: {}, sumsq: {}, n: {}, "
|
||||
fmt::println("{}: sum: {}, sumsq: {}, n: {}, "
|
||||
"min: {}, max: {}, mean: {}, stddev: {}",
|
||||
sum, sumsq, n, min, max, mean(),
|
||||
msg, sum, sumsq, n, min, max, mean(),
|
||||
stddev());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue