Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mc-sog
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PMC-SOG
mc-sog
Commits
8206ffd3
Commit
8206ffd3
authored
5 years ago
by
Chiheb Amer Abid
Browse files
Options
Downloads
Patches
Plain Diff
modifié : src/ModelCheckLace.cpp
modifié : src/SogKripkeStateOTF.cpp modifié : src/SogKripkeStateOTF.h
parent
e0783964
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/ModelCheckLace.cpp
+7
-5
7 additions, 5 deletions
src/ModelCheckLace.cpp
src/SogKripkeStateOTF.cpp
+1
-4
1 addition, 4 deletions
src/SogKripkeStateOTF.cpp
src/SogKripkeStateOTF.h
+1
-1
1 addition, 1 deletion
src/SogKripkeStateOTF.h
with
9 additions
and
10 deletions
src/ModelCheckLace.cpp
+
7
−
5
View file @
8206ffd3
...
...
@@ -126,7 +126,7 @@ string temp;
return
temp
;
}
TASK_3
(
MDD
,
A
ccessibl
e_epsilon_lace
,
MDD
,
From
,
Set
*
,
nonObservable
,
vector
<
TransSylvan
>*
,
tb_relation
)
TASK_3
(
MDD
,
A
ggregat
e_epsilon_lace
,
MDD
,
From
,
Set
*
,
nonObservable
,
vector
<
TransSylvan
>*
,
tb_relation
)
{
MDD
M1
;
MDD
M2
=
From
;
...
...
@@ -150,7 +150,7 @@ TASK_3 (MDD, Accessible_epsilon_lace, MDD, From, Set*, nonObservable, vector<Tra
return
M2
;
}
TASK_3
(
Set
,
fir
abl
e_obs_lace
,
MDD
,
State
,
Set
*
,
observable
,
vector
<
TransSylvan
>*
,
tb_relation
)
TASK_3
(
Set
,
fire_obs_lace
,
MDD
,
State
,
Set
*
,
observable
,
vector
<
TransSylvan
>*
,
tb_relation
)
{
Set
res
;
for
(
Set
::
const_iterator
i
=
observable
->
begin
();
!
(
i
==
observable
->
end
());
i
++
)
...
...
@@ -166,15 +166,17 @@ TASK_3 (Set, firable_obs_lace,MDD, State, Set*, observable, vector<TransSylvan>*
return
res
;
}
#define fir
abl
e_obs_lace(state,obser,tb) CALL(fir
abl
e_obs_lace, state, obser,tb)
#define fire_obs_lace(state,obser,tb) CALL(fire_obs_lace, state, obser,tb)
LDDState
*
ModelCheckLace
::
buildInitialMetaState
()
{
LDDState
*
c
=
new
LDDState
;
LACE_ME
;
MDD
initial_meta_state
(
CALL
(
A
ccessibl
e_epsilon_lace
,
m_initalMarking
,
&
m_nonObservable
,
&
m_tb_relation
));
Set
fire
=
fir
abl
e_obs_lace
(
initial_meta_state
,
&
m_observable
,
&
m_tb_relation
);
MDD
initial_meta_state
(
CALL
(
A
ggregat
e_epsilon_lace
,
m_initalMarking
,
&
m_nonObservable
,
&
m_tb_relation
));
Set
fire
=
fire_obs_lace
(
initial_meta_state
,
&
m_observable
,
&
m_tb_relation
);
// c->m_lddstate=CALL(lddmc_canonize,initial_meta_state,0,*this);
m_graph
->
setInitialState
(
c
);
m_graph
->
insert
(
c
);
return
c
;
}
...
...
This diff is collapsed.
Click to expand it.
src/SogKripkeStateOTF.cpp
+
1
−
4
View file @
8206ffd3
...
...
@@ -7,10 +7,7 @@ SogKripkeStateOTF::~SogKripkeStateOTF()
{
//dtor
}
SogKripkeStateOTF
::
SogKripkeStateOTF
(
const
MDD
&
m
)
:
spot
::
state
(),
ma
(
m
)
{
}
//
SogKripkeStateOTF
*
SogKripkeStateOTF
::
clone
()
const
...
...
This diff is collapsed.
Click to expand it.
src/SogKripkeStateOTF.h
+
1
−
1
View file @
8206ffd3
...
...
@@ -7,7 +7,7 @@
class
SogKripkeStateOTF
:
public
spot
::
state
{
public:
SogKripkeStateOTF
(
const
MDD
&
m
)
;
SogKripkeStateOTF
(
LDDState
*
st
)
:
m_state
(
st
)
{}
;
virtual
~
SogKripkeStateOTF
();
SogKripkeStateOTF
*
clone
()
const
override
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment