Changes between Initial Version and Version 1 of Ticket #2528, comment 1
- Timestamp:
- 2014-01-08T10:51:50Z (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2528, comment 1
initial v1 6 6 Real tIn[:]={1-time} "marking of input places"; 7 7 Real minTokens[:]= {0.5} "minimum capacities of input places"; 8 Boolean fed[:]= {false} "input places are fed?";9 8 Boolean active "activation of transition"; 10 9 algorithm 11 10 active:=true; 12 11 for i in 1:nIn loop 13 if not (tIn[i] > minTokens[i] or tIn[i] <= minTokens[i] and fed[i]) then12 if not (tIn[i] > minTokens[i]) then 14 13 active:=false; 15 14 else … … 25 24 Real tIn[:]={1-time} "marking of input places"; 26 25 Real minTokens[:]= {0.5} "minimum capacities of input places"; 27 Boolean fed[:]= {false} "input places are fed?";28 26 Boolean active "activation of transition"; 29 27 algorithm 30 28 active:=true; 31 29 for i in 1:nIn loop 32 if not (tIn[1] > minTokens[1] or tIn[1] <= minTokens[1] and fed[1]) then30 if not (tIn[1] > minTokens[1]) then 33 31 active:=false; 34 32 else