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
63cb925f
Commit
63cb925f
authored
Feb 10, 2013
by
Alexandre Duret-Lutz
Browse files
* src/tgbaalgos/degen.cc: Fix style.
parent
73ee5044
Changes
1
Show whitespace changes
Inline
Side-by-side
src/tgbaalgos/degen.cc
View file @
63cb925f
// Copyright (C) 2012 Laboratoire de Recherche et
//
Développement
de l'Epita.
// Copyright (C) 2012
, 2013
Laboratoire de Recherche et
Développement
// de l'Epita.
//
// This file is part of Spot, a model checking library.
//
...
...
@@ -199,7 +199,7 @@ namespace spot
{
std
::
vector
<
bdd
>::
iterator
i
;
std
::
cout
<<
"Order_"
<<
scc
<<
":
\t
"
;
for
(
i
=
order_
.
begin
();
i
!=
order_
.
end
();
i
++
)
for
(
i
=
order_
.
begin
();
i
!=
order_
.
end
();
i
++
)
{
bdd_print_acc
(
std
::
cout
,
dict
,
*
i
);
std
::
cout
<<
", "
;
...
...
@@ -337,7 +337,8 @@ namespace spot
std
::
map
<
const
state
*
,
int
>
names
;
names
[
s
.
first
]
=
1
;
ds2num
[
s
]
=
10000
*
names
[
s
.
first
]
+
100
*
s
.
second
+
m
.
scc_of_state
(
s
.
first
);
ds2num
[
s
]
=
10000
*
names
[
s
.
first
]
+
100
*
s
.
second
+
m
.
scc_of_state
(
s
.
first
);
#else
ds2num
[
s
]
=
0
;
#endif
...
...
@@ -414,7 +415,7 @@ namespace spot
// degeralize it without ignoring *prev, you'll get
// two copies of states 2, depending on whether we
// reach it using 1=>2 or from 2->2. If this
// example was not clear, uncomment th
is
following
// example was not clear, uncomment th
e
following
// "if" block, and play with the "degenid.test"
// test case.
//
...
...
@@ -459,7 +460,8 @@ namespace spot
if
(
is_scc_acc
)
{
acc
|=
otheracc
;
// If use_z_lvl is on, start with level zero 0 when swhitching SCCs
// If use_z_lvl is on, start with level zero 0 when
// swhitching SCCs
unsigned
next
=
(
!
use_z_lvl
||
s_scc
==
scc
)
?
slevel
:
0
;
// If lvl_cache is used and switching SCCs, use level from cache
...
...
@@ -521,7 +523,8 @@ namespace spot
// degen_acc on all outgoing transitions. (We are still
// building a TGBA; we only assure that it can be used as
// an SBA.)
t
->
acceptance_conditions
=
is_acc
?
degen_acc
:
bddfalse
;
if
(
is_acc
)
t
->
acceptance_conditions
=
degen_acc
;
}
else
{
...
...
@@ -535,7 +538,7 @@ namespace spot
#ifdef DEGEN_DEBUG
std
::
vector
<
bdd
>::
iterator
i
;
std
::
cout
<<
"Orig. order:
\t
"
;
for
(
i
=
order
.
begin
();
i
!=
order
.
end
();
i
++
)
for
(
i
=
order
.
begin
();
i
!=
order
.
end
();
i
++
)
{
bdd_print_acc
(
std
::
cout
,
dict
,
*
i
);
std
::
cout
<<
", "
;
...
...
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