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

6
LINES

< > BotCompany Repo | #1011602 // ai_speculateWithTimeout

JavaX fragment (include)

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

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: 346 / 373
Referenced in: [show references]