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.
		
		
		
		
		
			
		
			
				
					
					
						
							20 lines
						
					
					
						
							319 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							20 lines
						
					
					
						
							319 B
						
					
					
				|   | |
| mdp | |
| 
 | |
| module module1 | |
| 
 | |
| 	// local state | |
| 	s : [0..2] init 0; | |
| 
 | |
| 	[A] s=0 -> 0.6 : (s'=1) + 0.4 : (s'=2); | |
| 	[B] s=0 -> 0.3 : (s'=0) + 0.7 : (s'=1); | |
| 	[C] s=0 -> 0.2 : (s'=0) + 0.8 : (s'=2); | |
| 	[D] s=1 -> 0.25 : (s'=0) + 0.75 : (s'=2);  | |
| 	[]  s=2 -> 1 : (s'=s); | |
| endmodule | |
| 
 | |
| rewards "rew" | |
| 	[A] true : 10; | |
| 	[D] true : 4; | |
| endrewards | |
| 
 |