in out. . , Model Machine , . out [i+1]; in [i]. . Model oncreate () : machine.item(0).out.connect(machine.itern(machine.size()-1).in);
( ), , . , . , - - . token.count . hasToken, true .
. 19.4 , 4. - 0, , . 7 , .
- , :
- ,
- ,
- 0 0,
, . - stopAlgorithm, finished true, . .
AnyLogic , Java , AnyLogic . . , .
20
: Heat Bags ( ). , , AnyLogic.