is_alternating() -> !is_existential()
Part of #212. * spot/misc/common.hh (SPOT_DEPRECATED): Improve support current compilers and options flags. * spot/twa/twagraph.hh, spot/graph/graph.hh (is_alternating): Mark it as deprecated. (is_existential): New method. * bin/autfilt.cc, bin/ltlcross.cc, spot/parseaut/parseaut.yy, spot/twa/twa.cc, spot/twa/twagraph.cc, spot/twaalgos/alternation.cc, spot/twaalgos/are_isomorphic.cc, spot/twaalgos/canonicalize.cc, spot/twaalgos/couvreurnew.cc, spot/twaalgos/cycles.cc, spot/twaalgos/degen.cc, spot/twaalgos/determinize.cc, spot/twaalgos/dot.cc, spot/twaalgos/dtbasat.cc, spot/twaalgos/dtwasat.cc, spot/twaalgos/hoa.cc, spot/twaalgos/isunamb.cc, spot/twaalgos/isweakscc.cc, spot/twaalgos/mask.hh, spot/twaalgos/minimize.cc, spot/twaalgos/postproc.cc, spot/twaalgos/product.cc, spot/twaalgos/randomize.cc, spot/twaalgos/remfin.cc, spot/twaalgos/sbacc.cc, spot/twaalgos/sccfilter.cc, spot/twaalgos/sccinfo.cc, spot/twaalgos/simulation.cc, spot/twaalgos/strength.cc, tests/core/graph.cc, tests/core/ngraph.cc, tests/python/alternating.py: Adjust all uses. * NEWS: Mention the renaming.
This commit is contained in:
parent
7f7d078f2f
commit
fefb375d5f
36 changed files with 127 additions and 93 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// -*- coding: utf-8 -*-
|
||||
// Copyright (C) 2014, 2015, 2016 Laboratoire de Recherche et
|
||||
// Copyright (C) 2014, 2015, 2016, 2017 Laboratoire de Recherche et
|
||||
// Développement de l'Epita.
|
||||
//
|
||||
// This file is part of Spot, a model checking library.
|
||||
|
|
@ -225,7 +225,7 @@ f6()
|
|||
f += t.first;
|
||||
h += t.second;
|
||||
}
|
||||
return f == 3 && (h > 2.49 && h < 2.51) && !g.is_alternating();
|
||||
return f == 3 && (h > 2.49 && h < 2.51) && g.is_existential();
|
||||
}
|
||||
|
||||
static bool
|
||||
|
|
@ -247,7 +247,7 @@ f7()
|
|||
|
||||
g.dump_storage(std::cout);
|
||||
|
||||
return f == 15 && g.is_alternating();
|
||||
return f == 15 && !g.is_existential();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -264,7 +264,7 @@ static bool f6()
|
|||
f += t.first;
|
||||
h += t.second;
|
||||
}
|
||||
return f == 3 && (h > 2.49 && h < 2.51) && !g.is_alternating();
|
||||
return f == 3 && (h > 2.49 && h < 2.51) && g.is_existential();
|
||||
}
|
||||
|
||||
static bool f7()
|
||||
|
|
@ -287,7 +287,7 @@ static bool f7()
|
|||
for (unsigned tt: g.univ_dests(t.dst))
|
||||
f += t.label * g.state_data(tt);
|
||||
|
||||
return f == 15 && g.is_alternating();
|
||||
return f == 15 && !g.is_existential();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue