In attachment I have my proposition of crosswalk nearing algorithm for autonomous car behaviour.
I want to ask what properties in PRISM I can validate and verify for this situation. Can me give some kind of proposition? I checked manual but I do not know what can be used in this situation.
I wrote code for prism:
=============================
dtmc
module crosswalk
// local
state
s :
[0..6] init 0;
[] s=0
-> (s'=1);
[] s=1
-> 0.6 : (s'=3) + 0.4 : (s'=2);
[] s=2
-> (s'=3);
[] s=3
-> 0.6 : (s'=4) + 0.4 : (s'=2);
[] s=4
-> 0.6 : (s'=6) + 0.4 : (s'=5);
[] s=5
-> 1 : (s'=4);
[] s=6
-> (s'=6);
endmodule
=============================