* src/tgbaalgos/degen.cc: Fix style.
This commit is contained in:
parent
73ee50446b
commit
63cb925f1f
1 changed files with 12 additions and 9 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// 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.
|
||||
//
|
||||
|
|
@ -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 this following
|
||||
// example was not clear, uncomment the 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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue