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
509fb7e2
Commit
509fb7e2
authored
Jun 14, 2012
by
Alexandre Duret-Lutz
Browse files
* src/tgbaalgos/degen.cc: Use the new bdd_implies() function.
parent
b7c77dca
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/tgbaalgos/degen.cc
View file @
509fb7e2
...
...
@@ -284,10 +284,10 @@ namespace spot
{
unsigned
prev
=
order
.
size
()
-
1
;
bdd
common
=
outgoing
.
common_acc
(
s
.
first
);
if
(
(
common
&
order
[
prev
])
==
order
[
prev
]
)
if
(
bdd_implies
(
order
[
prev
],
common
)
)
{
bdd
u
=
outgoing
.
union_acc
(
d
.
first
);
if
(
(
u
&
order
[
prev
])
!=
order
[
prev
])
if
(
!
bdd_implies
(
order
[
prev
]
,
u
)
)
acc
-=
order
[
prev
];
}
}
...
...
@@ -314,8 +314,7 @@ namespace spot
// acceptance sets common to the outgoing transitions of
// the destination state.
acc
|=
otheracc
;
while
(
next
<
order
.
size
()
&&
(
acc
&
order
[
next
])
==
order
[
next
])
while
(
next
<
order
.
size
()
&&
bdd_implies
(
order
[
next
],
acc
))
++
next
;
d
.
second
=
next
;
...
...
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