2#include "../IntervalHandInfo.h"
9 const CalcPatternMod _pmod = Balance;
10 const std::string name =
"BalanceMod";
14 float min_mod = 0.95F;
15 float max_mod = 1.05F;
16 float mod_base = 0.325F;
19 float other_scaler = 4.F;
21 const std::vector<std::pair<std::string, float*>> _params{
22 {
"min_mod", &min_mod }, {
"max_mod", &max_mod },
23 {
"mod_base", &mod_base }, {
"buffer", &buffer },
24 {
"scaler", &scaler }, {
"other_scaler", &other_scaler },
26#pragma endregion params and param map
30 void full_reset() { pmod = neutral; }
53 pmod = itvhi.get_col_prop_low_by_high();
54 pmod = (mod_base + (buffer + (scaler / pmod)) / other_scaler);
55 pmod = std::clamp(pmod, min_mod, max_mod);
accumulates hand specific info across an interval as it's processed by row
Definition IntervalHandInfo.h:6
auto get_taps_nowi() const -> int
access functions for hand tap counts
Definition IntervalHandInfo.h:135
auto get_col_taps_nowi(const col_type &ct) const -> int
access functions for col tap counts
Definition IntervalHandInfo.h:54
auto cols_equal_now() const -> bool
col operations
Definition IntervalHandInfo.h:84