Encoding DRS transition relation

This commit is contained in:
Artur Meski
2018-04-02 22:17:47 +01:00
parent f73ebdd4bf
commit 9a8255a355
6 changed files with 113 additions and 205 deletions

View File

@@ -76,7 +76,7 @@ BDD BoolContexts::getBDD(const SymRS *srs) const
std::string FormRSCTL::toStr(void) const
{
if (oper == RSCTL_PV) {
return name;
return proc_name + ":" + entity_name;
}
else if (oper == RSCTL_TF) {
if (tf) {
@@ -188,7 +188,7 @@ void FormRSCTL::encodeEntities(const SymRS *srs)
arg[1]->encodeEntities(srs);
}
else if (oper == RSCTL_PV) {
bdd = new BDD(srs->encEntity(name));
bdd = new BDD(srs->encEntity(proc_name, entity_name));
}
}