modelcheck: support for twacube
* spot/ltsmin/ltsmin.cc, spot/ltsmin/ltsmin.hh, tests/ltsmin/modelcheck.cc: here.
This commit is contained in:
parent
94f7c58f44
commit
9799f2884e
3 changed files with 109 additions and 6 deletions
|
|
@ -20,7 +20,10 @@
|
|||
#pragma once
|
||||
|
||||
#include <spot/kripke/kripke.hh>
|
||||
#include <spot/twacube/twacube.hh>
|
||||
#include <spot/tl/apcollect.hh>
|
||||
#include <tuple>
|
||||
#include <spot/mc/intersect.hh>
|
||||
|
||||
namespace spot
|
||||
{
|
||||
|
|
@ -81,6 +84,14 @@ namespace spot
|
|||
formula dead = formula::tt(),
|
||||
int compress = 0) const;
|
||||
|
||||
/// \brief Check for the emptiness between a system and a twa.
|
||||
/// Return a pair containing a boolean indicating wether a counterexample
|
||||
/// has been found and a string representing the counterexample if the
|
||||
/// computation have been required
|
||||
static std::tuple<bool, std::string, istats>
|
||||
modelcheck(spot::kripkecube<spot::cspins_state, spot::cspins_iterator>* sys,
|
||||
spot::twacube* twa, bool compute_ctrx = false);
|
||||
|
||||
/// Number of variables in a state
|
||||
int state_size() const;
|
||||
/// Name of each variable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue