satminimization: do not assume the initial state is 0
* src/tgbaalgos/dtbasat.cc, src/tgbaalgos/dtgbasat.cc: Here.
This commit is contained in:
parent
5d8f16da99
commit
80ce0e2129
2 changed files with 12 additions and 8 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue