|
@ -17,9 +17,9 @@ def build_model(program, properties=None): |
|
|
""" |
|
|
""" |
|
|
if properties: |
|
|
if properties: |
|
|
formulae = [prop.raw_formula for prop in properties] |
|
|
formulae = [prop.raw_formula for prop in properties] |
|
|
|
|
|
intermediate = core._build_sparse_model_from_prism_program(program, formulae) |
|
|
else: |
|
|
else: |
|
|
formulae = [] |
|
|
|
|
|
intermediate = core._build_sparse_model_from_prism_program(program, formulae) |
|
|
|
|
|
|
|
|
intermediate = core._build_sparse_model_from_prism_program(program) |
|
|
assert not intermediate.supports_parameters |
|
|
assert not intermediate.supports_parameters |
|
|
if intermediate.model_type == ModelType.DTMC: |
|
|
if intermediate.model_type == ModelType.DTMC: |
|
|
return intermediate._as_dtmc() |
|
|
return intermediate._as_dtmc() |
|
|