Flop-Suche: Dienst-Vorgabe 60 Iterationen (Tor b: 30 und 40 schlechter als der Baum)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
2026-12-02 03:37:43 +01:00
co-authored by Claude Fable 5.2
parent 4430a9ff6f
commit bcf0e77293
+3 -2
View File
@@ -549,8 +549,9 @@ impl Motor {
let punkt = baum.finde(z.hist, z.dran).ok_or("Punkt fehlt im Baum der Setzrunde")?;
let i = lage.hand[held].iter().position(|x| paar(x.0, x.1) == h).ok_or("Hand fehlt")?;
let n = lage.n(held);
// Vorgabe aus Tor (b): 4 Fortsetzungen, 48 Kartenlaeufe im Wechsel durch 3 Teile (16 je Iteration), 30 Iterationen
let (k, laeufe, runden) = (zahl("MOTOR_FLOP_SUCHE_K", 4.0) as usize, zahl("MOTOR_FLOP_SUCHE_LAEUFE", 48.0) as usize, zahl("MOTOR_FLOP_SUCHE_RUNDEN", 30.0) as u32);
// Vorgabe aus Tor (b): 4 Fortsetzungen, 48 Kartenlaeufe im Wechsel durch 3 Teile (16 je Iteration), 60 Iterationen (der
// Durchschnitt beginnt wie im b-inary-Loeser bei 16 und 64 neu: 60 nutzt 44 Iterationen, 30 nur 14 und war schlechter als der Baum)
let (k, laeufe, runden) = (zahl("MOTOR_FLOP_SUCHE_K", 4.0) as usize, zahl("MOTOR_FLOP_SUCHE_LAEUFE", 48.0) as usize, zahl("MOTOR_FLOP_SUCHE_RUNDEN", 60.0) as u32);
let wechsel = zahl("MOTOR_FLOP_SUCHE_WECHSEL", 3.0) as usize;
let (eta, stutzen) = (zahl("MOTOR_FLOP_SUCHE_ETA", 0.25) as f32, zahl("MOTOR_FLOP_SUCHE_STUTZEN", 0.0) as f32);
let zeile = |zug: &[Vec<f32>]| -> [f32; MAXA] { std::array::from_fn(|a| if a < menue.n { zug[punkt][a * n + i] } else { 0.0 }) };