Browse Source

Avoid creating tmp file when testing examples

refactoring
Matthias Volk 4 years ago
parent
commit
7d8c3ffd68
No known key found for this signature in database GPG Key ID: 83A57678F739FCD3
  1. 2
      examples/pomdp/01-pomdps.py

2
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

Loading…
Cancel
Save