Use the count_state() function instead of stats_reachable().
* src/tgbaalgos/postproc.cc: Move the count_state() function... * src/priv/countstates.cc, src/priv/countstates.hh: ... in these new files. * src/priv/Makefile.am: Add them. * src/saba/sabacomplementtgba.cc, src/tgba/tgbakvcomplement.cc, src/tgbaalgos/minimize.cc: Use count_states() instead of stats_reachable().
This commit is contained in:
parent
43b3df0ef0
commit
f00d97b4ba
7 changed files with 87 additions and 33 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// -*- coding: utf-8 -*-
|
||||
// Copyright (C) 2009, 2010, 2011, 2012 Laboratoire de Recherche et
|
||||
// Développement de l'Epita (LRDE).
|
||||
// Copyright (C) 2009, 2010, 2011, 2012, 2013 Laboratoire de Recherche
|
||||
// et Développement de l'Epita (LRDE).
|
||||
//
|
||||
// This file is part of Spot, a model checking library.
|
||||
//
|
||||
|
|
@ -28,7 +28,7 @@
|
|||
#include "misc/hashfunc.hh"
|
||||
#include "ltlast/formula.hh"
|
||||
#include "ltlast/constant.hh"
|
||||
#include "tgbaalgos/stats.hh"
|
||||
#include "priv/countstates.hh"
|
||||
|
||||
#include "sabacomplementtgba.hh"
|
||||
#include "explicitstateconjunction.hh"
|
||||
|
|
@ -376,10 +376,7 @@ namespace spot
|
|||
int v = get_dict()
|
||||
->register_acceptance_variable(ltl::constant::true_instance(), this);
|
||||
the_acceptance_cond_ = bdd_ithvar(v);
|
||||
{
|
||||
spot::tgba_statistics a_size = spot::stats_reachable(automaton_);
|
||||
nb_states_ = a_size.states;
|
||||
}
|
||||
nb_states_ = count_states(automaton_);
|
||||
}
|
||||
|
||||
saba_complement_tgba::~saba_complement_tgba()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue