rename dba_complement() to dtgba_complement()
* src/tgbaalgos/dbacomp.cc, src/tgbaalgos/dbacomp.hh (dba_complement): Rename to... * src/tgbaalgos/dtgbacomp.cc, src/tgbaalgos/dtgbacomp.hh (dtgba_complement): ... this. * src/tgbaalgos/minimize.cc, src/tgbaalgos/powerset.cc, src/tgbatest/ltl2tgba.cc, src/bin/ltlcross.cc, src/tgbaalgos/Makefile.am: Adjust to name change.
This commit is contained in:
parent
fdb157bf94
commit
7a7ed8a632
7 changed files with 26 additions and 26 deletions
|
|
@ -33,7 +33,7 @@ tgbaalgos_HEADERS = \
|
|||
compsusp.hh \
|
||||
cutscc.hh \
|
||||
cycles.hh \
|
||||
dbacomp.hh \
|
||||
dtgbacomp.hh \
|
||||
degen.hh \
|
||||
dottydec.hh \
|
||||
dotty.hh \
|
||||
|
|
@ -82,7 +82,7 @@ libtgbaalgos_la_SOURCES = \
|
|||
compsusp.cc \
|
||||
cutscc.cc \
|
||||
cycles.cc \
|
||||
dbacomp.cc \
|
||||
dtgbacomp.cc \
|
||||
degen.cc \
|
||||
dotty.cc \
|
||||
dottydec.cc \
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "dbacomp.hh"
|
||||
#include "dtgbacomp.hh"
|
||||
#include "ltlast/constant.hh"
|
||||
#include "reachiter.hh"
|
||||
|
||||
|
|
@ -26,7 +26,7 @@ namespace spot
|
|||
|
||||
namespace
|
||||
{
|
||||
class dbacomp_iter: public tgba_reachable_iterator_depth_first_stack
|
||||
class dtgbacomp_iter: public tgba_reachable_iterator_depth_first_stack
|
||||
{
|
||||
bdd orig_acc_;
|
||||
bdd all_neg_;
|
||||
|
|
@ -37,7 +37,7 @@ namespace spot
|
|||
|
||||
typedef state_explicit_number::transition trans;
|
||||
public:
|
||||
dbacomp_iter(const tgba* a)
|
||||
dtgbacomp_iter(const tgba* a)
|
||||
: tgba_reachable_iterator_depth_first_stack(a),
|
||||
dict_(a->get_dict()),
|
||||
out_(new tgba_explicit_number(dict_))
|
||||
|
|
@ -162,9 +162,9 @@ namespace spot
|
|||
|
||||
} // anonymous
|
||||
|
||||
tgba_explicit_number* dba_complement(const tgba* aut)
|
||||
tgba_explicit_number* dtgba_complement(const tgba* aut)
|
||||
{
|
||||
dbacomp_iter dci(aut);
|
||||
dtgbacomp_iter dci(aut);
|
||||
dci.run();
|
||||
return dci.result();
|
||||
}
|
||||
|
|
@ -17,21 +17,21 @@
|
|||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#ifndef SPOT_TGBAALGOS_DBACOMP_HH
|
||||
# define SPOT_TGBAALGOS_DBACOMP_HH
|
||||
#ifndef SPOT_TGBAALGOS_DTGBACOMP_HH
|
||||
# define SPOT_TGBAALGOS_DTGBACOMP_HH
|
||||
|
||||
#include "tgba/tgbaexplicit.hh"
|
||||
|
||||
namespace spot
|
||||
{
|
||||
/// \brief Complement a deterministic Büchi automaton
|
||||
/// \brief Complement a deterministic TGBA
|
||||
///
|
||||
/// The automaton \a aut should be deterministic. It does no need
|
||||
/// to be complete. Acceptance can be transition-based, or
|
||||
/// state-based. The resulting automaton is very unlikely to be
|
||||
/// deterministic.
|
||||
SPOT_API tgba_explicit_number*
|
||||
dba_complement(const tgba* aut);
|
||||
dtgba_complement(const tgba* aut);
|
||||
}
|
||||
|
||||
#endif // SPOT_TGBAALGOS_DBACOMP_HH
|
||||
#endif // SPOT_TGBAALGOS_DTGBACOMP_HH
|
||||
|
|
@ -47,7 +47,7 @@
|
|||
#include "tgbaalgos/ltl2tgba_fm.hh"
|
||||
#include "tgbaalgos/bfssteps.hh"
|
||||
#include "tgbaalgos/isdet.hh"
|
||||
#include "tgbaalgos/dbacomp.hh"
|
||||
#include "tgbaalgos/dtgbacomp.hh"
|
||||
#include "priv/countstates.hh"
|
||||
|
||||
namespace spot
|
||||
|
|
@ -672,7 +672,7 @@ namespace spot
|
|||
{
|
||||
// If the automaton is deterministic, complementing is
|
||||
// easy.
|
||||
to_free = aut_neg_f = dba_complement(aut_f);
|
||||
to_free = aut_neg_f = dtgba_complement(aut_f);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
#include "tgbaalgos/gtec/gtec.hh"
|
||||
#include "tgbaalgos/sccfilter.hh"
|
||||
#include "tgbaalgos/ltl2tgba_fm.hh"
|
||||
#include "tgbaalgos/dbacomp.hh"
|
||||
#include "tgbaalgos/dtgbacomp.hh"
|
||||
#include "ltlast/unop.hh"
|
||||
|
||||
namespace spot
|
||||
|
|
@ -382,7 +382,7 @@ namespace spot
|
|||
delete p;
|
||||
|
||||
// Complement the DBA.
|
||||
tgba* neg_det = dba_complement(det);
|
||||
tgba* neg_det = dtgba_complement(det);
|
||||
|
||||
tgba* p = new tgba_product(aut, neg_det);
|
||||
emptiness_check* ec = couvreur99(p);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue