remove the sba interface
* src/tgba/tgbagraph.hh: Automatize the setting of the SingleAccSet property. * src/tgbaalgos/minimize.cc: Do not bother setting SingleAccSet. * src/tgba/sba.hh: Delete. * src/tgba/Makefile.am, wrap/python/spot.i: Adjust. * src/taalgos/tgba2ta.cc: Do not include sba.hh. * src/neverparse/neverclaimparse.yy: Set the SBA property on the output. * src/tgbaalgos/lbtt.cc (lbtt_read_gba): Set the StateBasedAcc property on output. * src/tgbaalgos/dotty.cc, src/tgbaalgos/neverclaim.cc: Do not rely on the sba interface. * src/dstarparse/dra2ba.cc, src/dstarparse/nra2nba.cc, src/tgbaalgos/simulation.cc, src/tgbaalgos/sccfilter.cc: Set tgba_digraph::StateBasedAcc as appropriate. * src/tgbatest/ltl2tgba.cc: Add extra assert.
This commit is contained in:
parent
cc38443ed0
commit
e9893586cc
15 changed files with 30 additions and 58 deletions
|
|
@ -23,7 +23,7 @@
|
|||
#include <ostream>
|
||||
#include <sstream>
|
||||
#include "bdd.h"
|
||||
#include "tgba/sba.hh"
|
||||
#include "tgba/tgbagraph.hh"
|
||||
#include "neverclaim.hh"
|
||||
#include "tgba/bddprint.hh"
|
||||
#include "reachiter.hh"
|
||||
|
|
@ -42,8 +42,9 @@ namespace spot
|
|||
: tgba_reachable_iterator_breadth_first(a),
|
||||
os_(os), f_(f), accept_all_(-1), fi_needed_(false),
|
||||
comments_(comments), all_acc_conds_(a->all_acceptance_conditions()),
|
||||
sba_(dynamic_cast<const sba*>(a))
|
||||
sba_(dynamic_cast<const tgba_digraph*>(a))
|
||||
{
|
||||
assert(!sba_ || sba_->get_bprop(tgba_digraph::StateBasedAcc));
|
||||
}
|
||||
|
||||
void
|
||||
|
|
@ -193,7 +194,7 @@ namespace spot
|
|||
state* init_;
|
||||
bool comments_;
|
||||
bdd all_acc_conds_;
|
||||
const sba* sba_;
|
||||
const tgba_digraph* sba_;
|
||||
};
|
||||
} // anonymous
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue