Browse Source

enable export of shield

refactoring
sp 10 months ago
parent
commit
8a201a1c3c
  1. 2
      examples/shields/rl/utils.py

2
examples/shields/rl/utils.py

@ -116,7 +116,7 @@ class MiniGridShieldHandler(ShieldHandler):
state_valuations = model.state_valuations
choice_labeling = model.choice_labeling
#stormpy.shields.export_shield(model, shield, self.tmp_dir_name + "/current.shield")
stormpy.shields.export_shield(model, shield, self.tmp_dir_name + "/shield")
print(f"LOG: Starting to translate shield...")
tic()

Loading…
Cancel
Save