Spaces:
Running
Running
Commit ·
2b90b49
1
Parent(s): 0411534
clean noww
Browse files2993 unmodified lines29942995299629972998299930003001300259 unmodified lines306230633064306530663067306830693070307130722993 unmodified lines},async tick() {if (!this.running) return;const STEPS_PER_TICK = 3;for (let _s = 0; _s < STEPS_PER_TICK; _s++) {if (!this.running) return;var done1 = this.fixed.step >= this.horizon;var done2 = this.ai.step >= this.horizon;59 unmodified linesif (this.fixed.step >= this.horizon && this.ai.step >= this.horizon) {this.finish();} else if (this.running) {if (_s === STEPS_PER_TICK - 1) setTimeout(() => this.tick(), 0);}this.updateUI();} // end for loopif (this.running) setTimeout(() => this.tick(), 0);},finish() {2993 unmodified lines29942995299629972998299959 unmodified lines305930603061306230633064306530662993 unmodified lines},async tick() {if (!this.running) return;var done1 = this.fixed.step >= this.horizon;var done2 = this.ai.step >= this.horizon;59 unmodified linesif (this.fixed.step >= this.horizon && this.ai.step >= this.horizon) {this.finish();} else if (this.running) {setTimeout(() => this.tick(), 0);}},finish() {
app/viz/dashboard.py+1-7