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.
		
		
		
		
		
			
		
			
				
					
					
						
							22 lines
						
					
					
						
							392 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							22 lines
						
					
					
						
							392 B
						
					
					
				
								ma
							 | 
						|
								module main
							 | 
						|
									
							 | 
						|
									x : [0..4];
							 | 
						|
									[a] x=0 -> 0.5 : (x'=1) + 0.5 : (x'=0);
							 | 
						|
									[b] x=0 -> (x'=2);
							 | 
						|
									<> x=1 -> 6 : (x'=2) + 4 : (x'=4);
							 | 
						|
									<> x=2 -> 5 : (x'=2) + 5 : (x'=3);
							 | 
						|
									[c] x=3 -> 0.3 : (x'=2) + 0.7 : (x'=4);
							 | 
						|
									[d] x=3 -> 0.3 : (x'=4) + 0.7 : (x'=2);
							 | 
						|
									<> x=4 -> 5 : (x'=3);
							 | 
						|
								endmodule
							 | 
						|
								
							 | 
						|
								rewards "first"
							 | 
						|
									true : 3;
							 | 
						|
								    [] x=2 : 10;
							 | 
						|
									[d] true : 5;
							 | 
						|
								endrewards
							 | 
						|
								
							 | 
						|
								rewards "second"
							 | 
						|
								    x<2 : 42;
							 | 
						|
								endrewards
							 |