Backend mode for easier output parsing

This commit is contained in:
Artur Meski
2023-05-10 23:15:44 +01:00
parent 33ca0fd6e9
commit b4d58b94be
4 changed files with 26 additions and 3 deletions

View File

@@ -198,7 +198,14 @@ void ModelChecker::printReachWithSucc(void)
while (!unproc.IsZero()) {
BDD t;
t = unproc.PickOneMinterm(*pv);
cout << "Successors of " << srs->decodedRctSysStateToStr(t) << ":" << endl;
if (opts->backend_mode)
{
cout << "G " << srs->decodedRctSysStateToStr(t) << endl;
}
else
{
cout << "Successors of " << srs->decodedRctSysStateToStr(t) << ":" << endl;
}
srs->printDecodedRctSysStates(getSucc(t));
unproc -= t;
}