Research Article
Picture Preview Generation for Interactive Educational Resources
| | Input: | | | elements set E; preliminary dependencies set DR | | | Output: | | | DR | | (1) | interactElementToDepElements = {} | | (2) | staticElementToDepElements = {} | | (3) | fordo | | (4) | dfsTimes = 0 | | (5) | dependentElements = [] | | (6) | temp = 0 | | (7) | | | (8) | if | | (9) | | | (10) | end if | | (11) | end for | | (12) | fordo | | (13) | dfsTimes = 0 | | (14) | dependentElements = [] | | (15) | temp = [] | | (16) | | | (17) | if | | (18) | | | (19) | end if | | (20) | end for | | (21) | clear DR | | (22) | | | (23) | return DR |
|