gen: rename KS_COBUCHI to KS_NCA for consistency
* spot/gen/automata.cc, spot/gen/automata.hh, bin/genaut.cc: Rename the enum, function, and command-line option. * tests/core/genaut.test, tests/python/gen.ipynb, tests/python/gen.py: Adjust test cases. * doc/org/genaut.org: Adjust doc.
This commit is contained in:
parent
6cd6802ace
commit
e7df182a30
7 changed files with 27 additions and 24 deletions
|
|
@ -28,10 +28,10 @@ namespace spot
|
|||
namespace
|
||||
{
|
||||
static twa_graph_ptr
|
||||
ks_cobuchi(unsigned n, bdd_dict_ptr dict)
|
||||
ks_nca(unsigned n, bdd_dict_ptr dict)
|
||||
{
|
||||
if (n == 0)
|
||||
throw std::runtime_error("ks_cobuchi expects a positive argument");
|
||||
throw std::runtime_error("ks_nca expects a positive argument");
|
||||
// the alphabet has four letters:
|
||||
// i, s (for sigma), p (for pi), h (for hash)
|
||||
// we encode this four letters alphabet thanks to two AP a and b
|
||||
|
|
@ -185,8 +185,8 @@ namespace spot
|
|||
switch (pattern)
|
||||
{
|
||||
// Keep this alphabetically-ordered!
|
||||
case AUT_KS_COBUCHI:
|
||||
return ks_cobuchi(n, dict);
|
||||
case AUT_KS_NCA:
|
||||
return ks_nca(n, dict);
|
||||
case AUT_L_NBA:
|
||||
return l_nba(n, dict);
|
||||
case AUT_L_DSA:
|
||||
|
|
@ -201,7 +201,7 @@ namespace spot
|
|||
{
|
||||
static const char* const class_name[] =
|
||||
{
|
||||
"ks-cobuchi",
|
||||
"ks-nca",
|
||||
"l-nba",
|
||||
"l-dsa",
|
||||
};
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ namespace spot
|
|||
/// good-for-games and that has no equivalent deterministic
|
||||
/// co-Büchi automaton with less than 2^n / (2n+1) states.
|
||||
///
|
||||
/// Only defined for n>0
|
||||
/// Only defined for n>0.
|
||||
///
|
||||
/** \verbatim
|
||||
@InProceedings{ kuperberg.15.icalp,
|
||||
|
|
@ -51,7 +51,7 @@ namespace spot
|
|||
doi = {10.1007/978-3-662-47666-6_24}
|
||||
}
|
||||
\endverbatim */
|
||||
AUT_KS_COBUCHI = AUT_BEGIN,
|
||||
AUT_KS_NCA = AUT_BEGIN,
|
||||
/// \brief Hard-to-complement non-deterministic Büchi automata
|
||||
///
|
||||
/// Build a non-deterministic Büchi automaton with 3n+1 states
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue