You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

75 lines
1017 B

#no update for variables
{
init
node ini; x<=26
[
send2||tran transmit1; x>=0; x=0; 1
]
[
csend2||tran transmit1; x>=0; x=0; 1
]
}
{
node transmit1; x<=808
[
end2||tran done; x>=808; x=0; 1
]
[
cd2||tran collide1; true; x=0; 1
]
}
{
node transmit2; x<=808
[
end2||tran done; x>=808; x=0; 1
]
[
cd2||tran collide2; true; x=0; 1
]
}
{
node collide1; x<=0
[
tran wait1; x>=0; x=0; 0.5
tran wait1; x>=0; x=52; 0.5
]
}
{
node collide2; x<=0
[
tran wait2; x>=0; x=0; 0.25
tran wait2; x>=0; x=52; 0.25
tran wait2; x>=0; x=104; 0.25
tran wait2; x>=0; x=156; 0.25
]
}
{
node wait1; x<=104
[
send2||tran transmit2; x>=104; x=0; 1
]
[
csend2||tran transmit2; x>=104; x=0; 1
]
[
busy2||tran collide2; x>=104; x=0; 1
]
}
{
node wait2; x<=208
[
send2||tran transmit2; x>=208; x=0; 1
]
[
csend2||tran transmit2; x>=208; x=0; 1
]
[
busy2||tran collide2; x>=208; x=0; 1
]
}
{
node done; true
[
done||tran done;true;null;1
]
*