Commit 0cf952e7 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz

stutter bench: fix so that is compile again

* bench/stutter/stutter_invariance_formulas.cc,
bench/stutter/stutter_invariance_randomgraph.cc: Adjust after the
tgba->twa changes.
parent 98790f53
......@@ -21,10 +21,10 @@
#include "bin/common_setup.hh"
#include "bin/common_finput.hh"
#include "bin/common_output.hh"
#include "tgbaalgos/translate.hh"
#include "tgbaalgos/stutter.hh"
#include "tgbaalgos/dupexp.hh"
#include "tgbaalgos/stats.hh"
#include "twaalgos/translate.hh"
#include "twaalgos/stutter.hh"
#include "twaalgos/dupexp.hh"
#include "twaalgos/stats.hh"
#include "ltlast/allnodes.hh"
#include "ltlvisit/apcollect.hh"
#include "ltlvisit/length.hh"
......@@ -70,8 +70,8 @@ namespace
const spot::ltl::formula* nf =
spot::ltl::unop::instance(spot::ltl::unop::Not,
f->clone());
spot::tgba_digraph_ptr a = trans.run(f);
spot::tgba_digraph_ptr na = trans.run(nf);
spot::twa_graph_ptr a = trans.run(f);
spot::twa_graph_ptr na = trans.run(nf);
spot::ltl::atomic_prop_set* ap = spot::ltl::atomic_prop_collect(f);
bdd apdict = spot::ltl::atomic_prop_collect_as_bdd(f, a);
......@@ -82,10 +82,8 @@ namespace
bool prev = true;
for (int algo = 1; algo <= 8; ++algo)
{
auto dup_a = spot::make_tgba_digraph(a,
spot::tgba::prop_set::all());
auto dup_na = spot::make_tgba_digraph(na,
spot::tgba::prop_set::all());
auto dup_a = spot::make_twa_graph(a, spot::twa::prop_set::all());
auto dup_na = spot::make_twa_graph(na, spot::twa::prop_set::all());
spot::stopwatch sw;
sw.start();
......
......@@ -19,13 +19,13 @@
#include "misc/timer.hh"
#include "ltlvisit/apcollect.hh"
#include "tgbaalgos/dtgbacomp.hh"
#include "tgbaalgos/randomgraph.hh"
#include "tgbaalgos/dotty.hh"
#include "tgbaalgos/product.hh"
#include "tgbaalgos/stutter.hh"
#include "tgbaalgos/stats.hh"
#include "twa/tgbagraph.hh"
#include "twaalgos/dtgbacomp.hh"
#include "twaalgos/randomgraph.hh"
#include "twaalgos/dotty.hh"
#include "twaalgos/product.hh"
#include "twaalgos/stutter.hh"
#include "twaalgos/stats.hh"
#include "twa/twagraph.hh"
#include "twa/bdddict.hh"
#include "misc/random.hh"
#include <cstdio>
......@@ -72,7 +72,7 @@ main(int argc, char** argv)
// generate n random automata
for (unsigned i = 0; i < n; ++i)
{
spot::tgba_digraph_ptr a;
spot::twa_graph_ptr a;
do
{
spot::srand(++seed);
......@@ -93,10 +93,9 @@ main(int argc, char** argv)
if (disable_algo[algo - 1])
continue;
auto dup_a = spot::make_tgba_digraph(a,
spot::tgba::prop_set::all());
auto dup_na = spot::make_tgba_digraph(na,
spot::tgba::prop_set::all());
auto dup_a = spot::make_twa_graph(a, spot::twa::prop_set::all());
auto dup_na = spot::make_twa_graph(na,
spot::twa::prop_set::all());
spot::stopwatch sw;
sw.start();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment