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
1cb7c333
Commit
1cb7c333
authored
2 years ago
by
chihebabid
Browse files
Options
Downloads
Patches
Plain Diff
Add transition fetching
parent
680059bd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!6
Feature/ufscc emptiness check
Pipeline
#4987
passed
2 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/algorithm/CNDFS.cpp
+7
-7
7 additions, 7 deletions
src/algorithm/CNDFS.cpp
with
7 additions
and
7 deletions
src/algorithm/CNDFS.cpp
+
7
−
7
View file @
1cb7c333
...
...
@@ -101,13 +101,13 @@ void CNDFS::computeProduct() {
while
(
!
mMcl
->
getInitialMetaState
());
LDDState
*
initialAgg
=
mMcl
->
getInitialMetaState
();
while
(
!
initialAgg
->
isCompletedSucc
());
int
transition
=
mMcl
->
getInitialMetaState
()
->
Successors
.
at
(
0
).
second
;
std
::
cout
<<
"La transition : "
<<
string
(
mMcl
->
getTransition
(
transition
))
<<
std
::
endl
;
auto
f
=
spot
::
formula
::
ap
(
string
(
"Catch1_3"
));
//string(mMcl->getTransition (
transition
)));
auto
p
=
mAa
->
get_dict
();
if
(
p
->
var_map
.
find
(
f
)
==
p
->
var_map
.
end
())
{
cout
<<
"
Ok!"
;
}
int
transition
=
mMcl
->
getInitialMetaState
()
->
Successors
.
at
(
0
).
second
;
// je récupère le numéro de la première transition
auto
name
=
string
(
mMcl
->
getTransition
(
transition
))
;
// récuprer le nom de la transition
auto
f
=
spot
::
formula
::
ap
(
name
);
// récuperer la proposition atomique qui correspond à la
transi
i
tion
auto
p
=
mAa
->
get_dict
();
// avoir le dictionnaire bdd,proposition atomique
if
(
p
->
var_map
.
find
(
f
)
==
p
->
var_map
.
end
())
{
// Chercher la transition
cout
<<
"
trouvé!"
;
// p->var_map.find ( f )->second => donne la bdd
}
else
cout
<<
"trouvé"
;
//bdd result=bdd_ithvar ( ( p->var_map.find ( f ) )->second );
//mAa->edge_data(0)
...
...
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