decide: --set veciters (vector solver iterations, all or flop/turn/river) for the vektor convergence control; NOT built or tested (stopped by owner)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-03 23:02:55 +01:00
co-authored by Claude Opus 5.5
parent 00adeafaae
commit 4a19dbddfd
+10
View File
@@ -104,6 +104,16 @@ pub fn apply_sets(prm: &mut SearchParams, sets: &str) -> Result<(), String> {
"minflop" => prm.min_flop_players = p(k, v)?,
"vecmin" => prm.vec_min_street = match v { "flop" => Street::Flop, "turn" => Street::Turn, _ => Street::River },
"vector" => prm.vector = b,
// pokerfreak-teilspiel: iterations of the exact vector solver, one number for all streets or flop/turn/river
// (default 300/300/150); needed to check that the `vektor` control converges towards zero exploitability
"veciters" => {
let w: Vec<u64> = v.split('/').map(|x| x.parse::<u64>()).collect::<Result<_, _>>().map_err(|e| format!("veciters: {e}"))?;
prm.vec_iters = match w.as_slice() {
[a] => [*a, *a, *a],
[a, b, c] => [*a, *b, *c],
_ => return Err("veciters: one number or flop/turn/river".into()),
};
}
"sizing" | "later" => {
let s: BetSizing = match v {
"small" => search::tree::small_sizing(),