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:
Zed A. Shaw 2025-03-16 13:34:38 -04:00
parent 8368d2e751
commit 49531ba148
9 changed files with 94 additions and 48 deletions

View file

@ -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());
}