Transpiled version (5237L) is out of date.
1 | // "IProbabilistic" - a probabilistic runnable |
2 | |
3 | sinterface IProbabilistic /*extends Runnable*/ { |
4 | public void setScheduler(IProbabilisticScheduler ps); |
5 | public IProbabilisticScheduler scheduler(); |
6 | |
7 | /*default void run(IProbabilisticScheduler ps) { |
8 | setScheduler(ps); |
9 | run(); |
10 | }*/ |
11 | |
12 | default <A> A initAction(A a) { |
13 | scheduler().initAction(a); |
14 | ret a; |
15 | } |
16 | |
17 | // do initial calculations & optionally schedule additional steps |
18 | void step0(); |
19 | } |
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: | 239 / 401 |
Version history: | 11 change(s) |
Referenced in: | [show references] |