Universal K support

This commit is contained in:
Artur Meski
2018-04-29 17:16:25 +01:00
parent 142846b90c
commit 36b59b5baf

4
mc.cc
View File

@@ -350,6 +350,10 @@ BDD ModelChecker::getStatesRSCTLK(const FormRSCTLK *form)
auto proc_id = srs->rs->getProcessID(form->getSingleAgent()); auto proc_id = srs->rs->getProcessID(form->getSingleAgent());
return statesNK(getStatesRSCTLK(form->getLeftSF()) * *reach, proc_id) * *reach; return statesNK(getStatesRSCTLK(form->getLeftSF()) * *reach, proc_id) * *reach;
} }
else if (oper == RSCTLK_UK) {
auto proc_id = srs->rs->getProcessID(form->getSingleAgent());
return *reach - (statesNK(*reach - getStatesRSCTLK(form->getLeftSF()), proc_id) * *reach);
}
assert(0); // Should never happen assert(0); // Should never happen
return BDD_FALSE; return BDD_FALSE;