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.
 
 
 
 
 
 

23 lines
458 B

// Simple POMDP guessing a hidden variable
pomdp
observables s endobservables
module M
s : [0..2]; // state
h : [0..3]; // hidden var
// Assign hidden variable randomly
[toss] s=0 -> 0.1:(s'=1)&(h'=1) + 0.3:(s'=1)&(h'=2) + 0.6:(s'=1)&(h'=3);
// Guess the value of the hidden variable
[guess1] s=1 -> (s'=(h=1)?2:3);
[guess2] s=1 -> (s'=(h=2)?2:3);
[guess3] s=1 -> (s'=(h=3)?2:3);
// Done
[loop] s=2 -> true;
endmodule
label "correct" = s=2;