Skip to content

Commit

Permalink
commit clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Andriushchenko committed Dec 6, 2023
1 parent e01cd2d commit 812e2f6
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions paynt/quotient/pomdp_family.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,12 +240,9 @@ def compute_qvalues_for_fsc(self, dtmc_sketch):
result = stormpy.model_checking(product, formula, environment=paynt.quotient.models.MarkovChain.environment)
product_state_to_value = result.get_values()

invalid_action = self.num_actions

# prepare the resulting map
state_memory_action_to_value = {}
# map state values to the resulting map
# print(len(product_state_to_state_memory_action))
state_memory_action_to_value = {}
invalid_action = self.num_actions
for product_state in range(product.nr_states):
state,memory_action = self.product_pomdp_fsc.product_state_to_state_memory_action[product_state]
memory,action = memory_action
Expand Down Expand Up @@ -280,7 +277,6 @@ def translate_path_to_trace(self, dtmc_sketch, dtmc, path):
assert action in self.observation_to_actions[obs], "invalid trace"

return trace



def compute_witnessing_traces(self, dtmc_sketch, satisfying_assignment, num_traces, trace_max_length):
Expand Down

0 comments on commit 812e2f6

Please sign in to comment.