Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update with latest change in storm #152

Merged
merged 1 commit into from
Jan 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions tests/storage/test_model_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def test_build_dtmc(self):
for s in range(7, 13):
v_builder.add_state(state=s, integer_values=[7, s - 6])

state_valuations = v_builder.build(13)
state_valuations = v_builder.build()

# choice origins
prism_program = stormpy.parse_prism_program(get_example_path("dtmc", "die.pm"))
Expand Down Expand Up @@ -229,7 +229,7 @@ def test_build_mdp(self):
v_builder.add_state(state=s, boolean_values=[], integer_values=[s, 0], rational_values=[])
for s in range(7, 13):
v_builder.add_state(state=s, boolean_values=[], integer_values=[7, s - 6], rational_values=[])
state_valuations = v_builder.build(13)
state_valuations = v_builder.build()

# choice origins
prism_program = stormpy.parse_prism_program(get_example_path("mdp", "die_c1.nm"))
Expand Down Expand Up @@ -382,7 +382,7 @@ def test_build_ctmc(self):
v_builder.add_state(state=10, boolean_values=[], integer_values=[2, 1, 0, 1], rational_values=[])
v_builder.add_state(state=11, boolean_values=[], integer_values=[2, 1, 1, 1], rational_values=[])

state_valuations = v_builder.build(nr_states)
state_valuations = v_builder.build()

# set rate_transitions to True: the transition values are interpreted as rates
components = stormpy.SparseModelComponents(transition_matrix=transition_matrix, state_labeling=state_labeling,
Expand Down Expand Up @@ -515,7 +515,7 @@ def test_build_ma(self):
v_builder.add_state(state=3, boolean_values=[], integer_values=[4], rational_values=[])
v_builder.add_state(state=4, boolean_values=[], integer_values=[3], rational_values=[])

state_valuations = v_builder.build(nr_states)
state_valuations = v_builder.build()

# choice origins:
prism_program = stormpy.parse_prism_program(get_example_path("ma", "hybrid_states.ma"))
Expand Down Expand Up @@ -709,7 +709,7 @@ def test_build_pomdp(self):
v_builder.add_state(state=8, boolean_values=[], integer_values=[2, 2, 1], rational_values=[])
v_builder.add_state(state=9, boolean_values=[], integer_values=[2, 0, 2], rational_values=[])

state_valuations = v_builder.build(nr_states)
state_valuations = v_builder.build()

observations = [1, 0, 0, 0, 0, 0, 0, 0, 0, 2]

Expand Down
Loading