1 | static bool isViable(OccTree<E> tree) { |
2 | for (E e : keys(tree.followUp)) { |
3 | if (neq(e.state, "bad") |
4 | && isViable(tree.followUp(e))) |
5 | true; |
6 | } |
7 | ret empty(tree.followUp); |
8 | } |
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: | #1003402 |
Snippet name: | isViable - for occtrees |
Eternal ID of this version: | #1003402/1 |
Text MD5: | d5f483095455a4425c4de84560c0c0f8 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-06-29 01:18:25 |
Source code size: | 195 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 523 / 475 |
Referenced in: | [show references] |