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.
 
 
 
 

32 lines
533 B

// taken from Julia Eisentraut "Value iteration for simple stochastic games: Stopping criterion
// and learning algorithm" - Fig. 1
smg
const double p = 2/3;
player maxP
[q_action1], [q_action2]
endplayer
player minP
[p_action1]
endplayer
player sinkstates
state_space
endplayer
module state_space
s : [0..3];
[p_action1] s=0 -> (s'=1);
[q_action1] s=1 -> (s'=0);
[q_action2] s=1 -> (1-p) : (s'=1) + (p/2) : (s'=2) + (p/2) : (s'=3);
[] s=2 -> true;
[] s=3 -> true;
endmodule