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
80ce0e21
Commit
80ce0e21
authored
Dec 02, 2014
by
Alexandre Duret-Lutz
Browse files
satminimization: do not assume the initial state is 0
* src/tgbaalgos/dtbasat.cc, src/tgbaalgos/dtgbasat.cc: Here.
parent
5d8f16da
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/tgbaalgos/dtbasat.cc
View file @
80ce0e21
...
...
@@ -395,9 +395,12 @@ namespace spot
}
dout
<<
"(2) the initial state is reachable
\n
"
;
dout
<<
state_pair
(
0
,
0
)
<<
'\n'
;
out
<<
d
.
prodid
[
state_pair
(
0
,
0
)]
<<
" 0
\n
"
;
++
nclauses
;
{
unsigned
init
=
ref
->
get_init_state_number
();
dout
<<
state_pair
(
0
,
init
)
<<
'\n'
;
out
<<
d
.
prodid
[
state_pair
(
0
,
init
)]
<<
" 0
\n
"
;
++
nclauses
;
}
for
(
std
::
map
<
state_pair
,
int
>::
const_iterator
pit
=
d
.
prodid
.
begin
();
pit
!=
d
.
prodid
.
end
();
++
pit
)
...
...
src/tgbaalgos/dtgbasat.cc
View file @
80ce0e21
...
...
@@ -527,9 +527,12 @@ namespace spot
}
dout
<<
"(9) the initial state is reachable
\n
"
;
dout
<<
path
(
0
,
0
)
<<
'\n'
;
out
<<
d
.
pathid
[
path
(
0
,
0
)]
<<
" 0
\n
"
;
++
nclauses
;
{
unsigned
init
=
ref
->
get_init_state_number
();
dout
<<
path
(
0
,
init
)
<<
'\n'
;
out
<<
d
.
pathid
[
path
(
0
,
init
)]
<<
" 0
\n
"
;
++
nclauses
;
}
for
(
unsigned
q1
=
0
;
q1
<
d
.
cand_size
;
++
q1
)
for
(
unsigned
q1p
=
0
;
q1p
<
ref_size
;
++
q1p
)
...
...
@@ -732,11 +735,9 @@ namespace spot
transition_acc
ta
(
q2
,
l
,
d
.
cacc
.
mark
(
m
),
q3
);
int
tai
=
d
.
transaccid
[
ta
];
const
char
*
not_
=
"¬"
;
if
(
d
.
cacc
.
has
(
biga_
,
m
))
not_
=
""
;
out
<<
tai
<<
' '
;
out
<<
" ∧ "
<<
not_
<<
ta
<<
"FC"
;
}
...
...
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