Browse Source
			
			
			Avoid creating tmp file when testing examples
			
			
				refactoring
			
			
		 
		
			
				
					
						 Matthias Volk
					
					5 years ago
						Matthias Volk
					
					5 years ago
					
				 
				
			 
		 
		
			
				
				  
				  No known key found for this signature in database
				  
				  	
						GPG Key ID: 83A57678F739FCD3
				  	
				  
				
			
		
		
		
	
		
			
				 1 changed files with 
1 additions and 
1 deletions
			 
			
		 
		
			
				- 
					
					
					 
					examples/pomdp/01-pomdps.py
				
					
					
						
							
								
									
										
											
	
		
			
				|  | @ -76,7 +76,7 @@ def example_parametric_models_01(): | 
		
	
		
			
				|  |  |     # apply the unknown FSC to obtain a pmc from the POMDP |  |  |     # apply the unknown FSC to obtain a pmc from the POMDP | 
		
	
		
			
				|  |  |     pmc = stormpy.pomdp.apply_unknown_fsc(pomdp, stormpy.pomdp.PomdpFscApplicationMode.simple_linear) |  |  |     pmc = stormpy.pomdp.apply_unknown_fsc(pomdp, stormpy.pomdp.PomdpFscApplicationMode.simple_linear) | 
		
	
		
			
				|  |  | 
 |  |  | 
 | 
		
	
		
			
				|  |  |     export_pmc = True # Set to True to export the pMC as drn. |  |  |  | 
		
	
		
			
				|  |  |  |  |  |     export_pmc = False # Set to True to export the pMC as drn. | 
		
	
		
			
				|  |  |     if export_pmc: |  |  |     if export_pmc: | 
		
	
		
			
				|  |  |         export_options = stormpy.core.DirectEncodingOptions() |  |  |         export_options = stormpy.core.DirectEncodingOptions() | 
		
	
		
			
				|  |  |         export_options.allow_placeholders = False |  |  |         export_options.allow_placeholders = False | 
		
	
	
		
			
				|  | 
 |