Warning: session_start(): open(/var/lib/php/sessions/sess_dh3ipibd9696c09cdnimo7icg2, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
sclass AIStrategy_RandomWithVariation extends AIStrategy {
F0 random;
F1 vary;
*(IF0 random, IF1 vary) {
this.random = toF0(random);
this.vary = toF1(vary);
}
public bool step() { go(); false; }
void go {
submit(guess());
}
A guess() {
A a = null;
if (odd(round++) && vary != null && best.has())
a = callF(vary, best!);
if (a == null)
a = callF(random);
ret a;
}
}