Context automaton state encoding

This commit is contained in:
Artur Meski
2018-03-26 19:18:41 +01:00
parent fa587e6f2a
commit e3119099ea
7 changed files with 142 additions and 67 deletions

13
mc.cc
View File

@@ -21,7 +21,10 @@ ModelChecker::ModelChecker(SymRS *srs, Options *opts)
//
// Transition relations
//
// If we use trp, then trm is going to be nullptr (same for trm)
// trp -- partitioned TR
// trm -- monolithic TR
//
// If we use trp, then trm is nullptr (same for trm)
//
trp = srs->getEncPartTrans();
if (trp == nullptr)
@@ -32,10 +35,10 @@ ModelChecker::ModelChecker(SymRS *srs, Options *opts)
if (srs->usingContextAutomaton())
{
ca_init_state = srs->getEncCA_InitState();
pv_ca = srs->getEncCA_PV();
pv_ca_succ = srs->getEncCA_PVsucc();
ca_tr = srs->getEncCA_Trans();
ca_init_state = srs->getEncCtxAutInitState();
pv_ca = srs->getEncCtxAutPV();
pv_ca_succ = srs->getEncCtxAutPVsucc();
ca_tr = srs->getEncCtxAutTrans();
}
// Initialise the set of reachable states