mc: merge deadlock and reachabilty algorithms
* spot/mc/deadlock.hh, spot/mc/mc.hh, spot/mc/mc_instanciator.hh, tests/ltsmin/modelcheck.cc: Here.
This commit is contained in:
parent
1736a7364c
commit
369a8b8b14
4 changed files with 32 additions and 7 deletions
|
|
@ -187,8 +187,14 @@ namespace spot
|
|||
kripke_ptr, State, Iterator, Hash, Equal> (sys, prop, trace);
|
||||
|
||||
case mc_algorithm::DEADLOCK:
|
||||
return instanciate<spot::swarmed_deadlock<State, Iterator, Hash, Equal>,
|
||||
kripke_ptr, State, Iterator, Hash, Equal> (sys, prop, trace);
|
||||
return instanciate
|
||||
<spot::swarmed_deadlock<State, Iterator, Hash, Equal, std::true_type>,
|
||||
kripke_ptr, State, Iterator, Hash, Equal> (sys, prop, trace);
|
||||
|
||||
case mc_algorithm::REACHABILITY:
|
||||
return instanciate
|
||||
<spot::swarmed_deadlock<State, Iterator, Hash, Equal, std::false_type>,
|
||||
kripke_ptr, State, Iterator, Hash, Equal> (sys, prop, trace);
|
||||
|
||||
case mc_algorithm::SWARMING:
|
||||
return instanciate<spot::lpar13<State, Iterator, Hash, Equal>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue