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

19
LINES

< > BotCompany Repo | #1032158 // IProbabilistic

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (5237L) is out of date.

// "IProbabilistic" - a probabilistic runnable

sinterface IProbabilistic /*extends Runnable*/ {
  public void setScheduler(IProbabilisticScheduler ps);
  public IProbabilisticScheduler scheduler();
  
  /*default void run(IProbabilisticScheduler ps) {
    setScheduler(ps);
    run();
  }*/
  
  default <A> A initAction(A a) {
    scheduler().initAction(a);
    ret a;
  }
  
  // do initial calculations & optionally schedule additional steps
  void step0();
}

Author comment

Began life as a copy of #1032157

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1032158
Snippet name: IProbabilistic
Eternal ID of this version: #1032158/12
Text MD5: 7229d1d7a1d9e0cb1a199d20dfb7f10a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-26 23:58:01
Source code size: 481 bytes / 19 lines
Pitched / IR pitched: No / No
Views / Downloads: 237 / 399
Version history: 11 change(s)
Referenced in: [show references]