Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1011602 // ai_speculateWithTimeout

JavaX fragment (include)

// returns true if timeout
static bool ai_speculateWithTimeout(fS word, double timeoutSeconds) {
  ret eitherIsB(evalWithTimeout(toMS(timeoutSeconds), r {
    ai_speculate(word)
  }));
}

Author comment

Began life as a copy of #1011601

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1011602
Snippet name: ai_speculateWithTimeout
Eternal ID of this version: #1011602/1
Text MD5: 85db99f5782ad7edb062561733d2142c
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-01 00:02:16
Source code size: 191 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 347 / 373
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1011667 - ai_speculateWithActiveAndTimeout