Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
biocham
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
15
Issues
15
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Lifeware
biocham
Commits
eeed383e
Commit
eeed383e
authored
Jul 12, 2016
by
SOLIMAN Sylvain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix some inconsistencies in mapk.bc, added a test to nusmv ctl_check
parent
c3fcfae0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
16 deletions
+41
-16
library/examples/mapk/mapk.bc
library/examples/mapk/mapk.bc
+2
-2
nusmv.pl
nusmv.pl
+2
-0
nusmv.plt
nusmv.plt
+37
-14
No files found.
library/examples/mapk/mapk.bc
View file @
eeed383e
...
...
@@ -15,13 +15,13 @@ RAF + RAFK <=> RAF-RAFK.
RAF~{p1} + RAFPH <=> RAF~{p1}-RAFPH.
MEK
~{} + RAF~{p1} <=> MEK~{}
-RAF~{p1}.
MEK
+ RAF~{p1} <=> MEK
-RAF~{p1}.
MEK~{p1} + RAF~{p1} <=> MEK~{p1}-RAF~{p1}.
MEKPH + MEK~{p1} <=> MEK~{p1}-MEKPH.
MEKPH + MEK~{p1,p2} <=> MEK~{p1,p2}-MEKPH.
MAPK
~{} + MEK~{p1,p2} <=> MAPK~{}
-MEK~{p1,p2}.
MAPK
+ MEK~{p1,p2} <=> MAPK
-MEK~{p1,p2}.
MAPK~{p1} + MEK~{p1,p2} <=> MAPK~{p1}-MEK~{p1,p2}.
MAPKPH + MAPK~{p1} <=> MAPK~{p1}-MAPKPH.
...
...
nusmv.pl
View file @
eeed383e
...
...
@@ -351,6 +351,8 @@ make_nusmv_name(Molecule, Name) :-
atomic_list_concat
(
TranslatedList
,
Name
).
translate_char
(
' '
,
'_'
).
translate_char
(
'_'
,
'__'
).
translate_char
(
','
,
'_c'
).
...
...
nusmv.plt
View file @
eeed383e
...
...
@@ -34,21 +34,44 @@ test(
test(
'Lotka-Voltera',
[
forall(member(File, ['library:examples/lotka_voltera/LVr.bc',
'library:examples/lotka_voltera/LVi.bc'])),
setup(load(File)),
cleanup(clear_model)
]
'Lotka-Voltera',
[
forall(member(File, [
'library:examples/lotka_voltera/LVr.bc',
'library:examples/lotka_voltera/LVi.bc'
])),
setup(load(File)),
cleanup(clear_model)
]
) :-
assertion(nusmv:check_ctl_impl('EG'('R') /\ 'P', all, no, negative, true)),
assertion(nusmv:check_ctl_impl('EF'('AG'('R' /\ not('P'))), all, no,
negative, true)),
assertion(nusmv:check_ctl_impl('EF'('AG'(not('R') /\ not('P'))), all, no,
negative, true)),
assertion(nusmv:check_ctl_impl('EF'('AG'(not('R') /\ 'P')), all, no,
negative, false)).
test(
'MAPK',
[
condition(flag(slow_test, true, true)),
true(Result == 'true')
]
) :-
assertion(nusmv:check_ctl_impl('EG'('R') /\ 'P', all, no, negative, true)),
assertion(nusmv:check_ctl_impl('EF'('AG'('R' /\ not('P'))), all, no,
negative, true)),
assertion(nusmv:check_ctl_impl('EF'('AG'(not('R') /\ not('P'))), all, no,
negative, true)),
assertion(nusmv:check_ctl_impl('EF'('AG'(not('R') /\ 'P')), all, no,
negative, false)).
command(clear_model),
command(load('library:examples/mapk/mapk.bc')),
nusmv:check_ctl_impl(
reachable('MAPK~{p1,p2}') /\
checkpoint('MEK~{p1}', 'MAPK~{p1,p2}') /\
'EF'('MEK~{p1}-MEKPH' /\ 'EF'('MAPK~{p1,p2}')) /\
'EU'(not('MEK~{p1}-MEKPH'), 'MAPK~{p1,p2}'),
all,
no,
negative,
Result
).
set_a_dummy_reaction_model :-
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment