Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Colin THOMAS
/
pyits_model_checker
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Colin THOMAS
2022-06-30 15:01:27 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8c83b38e67c0b3690a47f2e05255c4c82e6b02fa
8c83b38e
1 parent
df7b5df3
Update __init__.py
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
pymc/__init__.py
pymc/__init__.py
View file @
8c83b38
...
...
@@ -165,9 +165,10 @@ class ARCTL_model_checker(CTL_model_checker):
else
:
return
shom
.
empty
()
elif
alpha
.
kind
==
'name'
:
assert
alpha
.
value
in
self
.
pred_dict
.
keys
(),
f
"{alpha.value} is not an action label"
return
self
.
pred_dict
[
alpha
.
value
]
elif
alpha
.
kind
==
'not'
:
return
s
hom
.
__sub__
(
self
.
EX
,
self
.
build_pred_alpha
(
alpha
.
children
[
0
]))
# not sure of myself here
return
s
elf
.
EX
.
__sub__
(
self
.
build_pred_alpha
(
alpha
.
children
[
0
]))
# not sure of myself here
elif
alpha
.
kind
==
'and'
:
return
reduce
(
shom
.
__and__
,
[
self
.
build_pred_alpha
(
child
)
for
child
in
alpha
.
children
],
self
.
EX
)
elif
alpha
.
kind
==
'or'
:
...
...
Please
register
or
login
to post a comment