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

@@ -573,7 +573,14 @@ void SymRS::printDecodedRctSysStates(const BDD &states)
while (!unproc.IsZero()) {
BDD t = unproc.PickOneMinterm(*pv_drs_flat);
cout << decodedRctSysStateToStr(t) << endl;
if (opts->backend_mode)
{
cout << "s " << decodedRctSysStateToStr(t) << endl;
}
else
{
cout << decodedRctSysStateToStr(t) << endl;
}
if (opts->verbose > 9) {
BDD_PRINT(t);