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
5eeeba34
Commit
5eeeba34
authored
5 years ago
by
Chiheb Amer Abid
Browse files
Options
Downloads
Patches
Plain Diff
modifié : src/ModelCheckLace.cpp
modifié : src/ModelCheckLace.h modifié : src/SogKripkeOTF.cpp
parent
f922ac67
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/ModelCheckLace.cpp
+5
-0
5 additions, 0 deletions
src/ModelCheckLace.cpp
src/ModelCheckLace.h
+1
-0
1 addition, 0 deletions
src/ModelCheckLace.h
src/SogKripkeOTF.cpp
+3
-3
3 additions, 3 deletions
src/SogKripkeOTF.cpp
with
9 additions
and
3 deletions
src/ModelCheckLace.cpp
+
5
−
0
View file @
5eeeba34
...
...
@@ -120,3 +120,8 @@ string ModelCheckLace::getTransition(int pos) {
string
temp
;
return
temp
;
}
string
ModelCheckLace
::
getPlace
(
int
pos
)
{
string
temp
;
return
temp
;
}
This diff is collapsed.
Click to expand it.
src/ModelCheckLace.h
+
1
−
0
View file @
5eeeba34
...
...
@@ -6,6 +6,7 @@ public:
ModelCheckLace
(
const
NewNet
&
R
,
int
BOUND
,
int
nbThread
);
LDDState
*
buildInitialMetaState
();
string
getTransition
(
int
pos
);
string
getPlace
(
int
pos
);
private:
int
m_nb_thread
;
MDD
m_initalMarking
;
...
...
This diff is collapsed.
Click to expand it.
src/SogKripkeOTF.cpp
+
3
−
3
View file @
5eeeba34
...
...
@@ -58,13 +58,13 @@ bdd SogKripkeOTF::state_condition(const spot::state* s) const
bdd
result
=
bddtrue
;
// Marked places
for
(
auto
it
=
marked_place
.
begin
();
it
!=
marked_place
.
end
();
it
++
)
{
string
name
=
m_
sog
->
getPlace
(
*
it
);
string
name
=
m_
builder
->
getPlace
(
*
it
);
spot
::
formula
f
=
spot
::
formula
::
ap
(
name
);
result
&=
bdd_ithvar
((
dict_
->
var_map
.
find
(
f
))
->
second
);
}
vector
<
int
>
unmarked_place
=
ss
->
getLDDState
()
->
getUnmarkedPlaces
(
m_
sog
->
getConstructor
()
->
getPlaceProposition
());
vector
<
int
>
unmarked_place
=
ss
->
getLDDState
()
->
getUnmarkedPlaces
(
m_
builder
->
getPlaceProposition
());
for
(
auto
it
=
unmarked_place
.
begin
();
it
!=
unmarked_place
.
end
();
it
++
)
{
string
name
=
m_
sog
->
getPlace
(
*
it
);
string
name
=
m_
builder
->
getPlace
(
*
it
);
spot
::
formula
f
=
spot
::
formula
::
ap
(
name
);
result
&=!
bdd_ithvar
((
dict_
->
var_map
.
find
(
f
))
->
second
);
}
...
...
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