Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
bff5f4ee
Commit
bff5f4ee
authored
Nov 03, 2003
by
Alexandre Duret-Lutz
Browse files
* iface/gspn/eesrg.cc (tgba_succ_iterator_gspn_eesrg::step):
Really Skip unknown variables.
parent
1a946458
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
bff5f4ee
2003-11-03 Alexandre Duret-Lutz <adl@src.lip6.fr>
* iface/gspn/eesrg.cc (tgba_succ_iterator_gspn_eesrg::step):
Really Skip unknown variables.
* configure.ac, NEWS: Bump version to 0.0j.
* iface/gspn/eesrg.cc (tgba_succ_iterator_gspn_eesrg::step):
...
...
iface/gspn/eesrg.cc
View file @
bff5f4ee
...
...
@@ -208,26 +208,28 @@ namespace spot
while
(
cond
!=
bddtrue
)
{
int
var
=
bdd_var
(
cond
);
tgba_gspn_eesrg_private_
::
prop_map
::
iterator
i
=
data_
->
prop_dict
.
find
(
var
);
// It's OK if VAR is unknown from GreatSPN (it might have
// been used to synchornize other automaton or something),
// just skip it.
if
(
i
!=
data_
->
prop_dict
.
end
())
continue
;
bdd
high
=
bdd_high
(
cond
);
int
res
;
if
(
high
==
bddfalse
)
{
cond
=
bdd_low
(
cond
);
props
[
i
->
second
]
=
0
;
res
=
0
;
}
else
{
cond
=
high
;
props
[
i
->
second
]
=
1
;
res
=
1
;
}
// It's OK if VAR is unknown from GreatSPN (it might have
// been used to synchornize other automaton or something),
// just skip it.
tgba_gspn_eesrg_private_
::
prop_map
::
iterator
i
=
data_
->
prop_dict
.
find
(
var
);
if
(
i
!=
data_
->
prop_dict
.
end
())
props
[
i
->
second
]
=
res
;
assert
(
cond
!=
bddfalse
);
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment