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
26f15224
Commit
26f15224
authored
Oct 24, 2003
by
Alexandre Duret-Lutz
Browse files
* src/tgbaalgos/emptinesscheck.cc: Remove some superfluous
`emptiness_check::'.
parent
549c3160
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
26f15224
2003-10-24 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/tgbaalgos/emptinesscheck.cc: Remove some superfluous
`emptiness_check::'.
* src/tgbaalgos/emptinesscheck.cc (emptiness_check::remove_component):
Rewrite.
...
...
src/tgbaalgos/emptinesscheck.cc
View file @
26f15224
...
...
@@ -85,7 +85,7 @@ namespace spot
while
(
!
todo
.
empty
())
{
pair_state_iter
step
=
todo
.
top
();
if
(
(
step
.
second
)
->
done
())
if
(
step
.
second
->
done
())
{
todo
.
pop
();
assert
(
!
root_component
.
empty
());
...
...
@@ -96,16 +96,15 @@ namespace spot
if
(
comp_tmp
.
index
==
i_0
->
second
)
{
// The current node is a root of a Strong Connected Component.
emptiness_check
::
remove_component
(
step
.
first
);
remove_component
(
step
.
first
);
assert
(
!
arc_accepting
.
empty
());
arc_accepting
.
pop
();
assert
(
root_component
.
size
()
==
arc_accepting
.
size
());
}
else
{
root_component
.
push
(
comp_tmp
);
assert
(
root_component
.
size
()
==
arc_accepting
.
size
());
}
assert
(
root_component
.
size
()
==
arc_accepting
.
size
());
}
else
{
...
...
@@ -355,7 +354,7 @@ namespace spot
iter_s
->
first
();
for
(
iter_s
->
first
();
!
iter_s
->
done
();
iter_s
->
next
())
{
const
state
*
curr_state
=
(
started_
.
second
)
->
current_state
();
const
state
*
curr_state
=
started_
.
second
->
current_state
();
if
(
comp_path
.
has_state
(
curr_state
))
{
if
(
curr_state
->
compare
(
to_state
)
==
0
)
...
...
@@ -369,8 +368,7 @@ namespace spot
complete_map
[
curr_father
].
second
));
curr_father
=
complete_map
[
curr_father
].
first
;
}
emptiness_check
::
period
.
splice
(
period
.
end
(),
tmp_comp
);
period
.
splice
(
period
.
end
(),
tmp_comp
);
todo_complete
.
clear
();
break
;
}
...
...
@@ -479,13 +477,12 @@ namespace spot
}
for
(
cycle_path
::
iterator
it
=
best_lst
.
begin
();
it
!=
best_lst
.
end
();
++
it
)
emptiness_check
::
period
.
push_back
(
*
it
);
period
.
push_back
(
*
it
);
if
(
best_acc
!=
to_accept
)
{
bdd
rec_to_acc
=
to_accept
-
best_acc
;
emptiness_check
::
accepting_path
(
comp_path
,
period
.
back
().
first
,
rec_to_acc
);
accepting_path
(
comp_path
,
period
.
back
().
first
,
rec_to_acc
);
}
else
{
...
...
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