RSC with Param; RSCA for Param, SMTChecker for Param

This commit is contained in:
Artur Meski
2017-08-13 13:48:42 +01:00
parent e1db24c8a9
commit 27c86497e4
5 changed files with 151 additions and 36 deletions

View File

@@ -14,14 +14,14 @@ from logics import rsLTL_Encoder
# def simplify(x):
# return x
class SmtCheckerRSC(object):
class SmtCheckerRSCParam(object):
def __init__(self, rsca):
rsca.sanity_check()
if not rsca.is_with_concentrations():
raise RuntimeError("RS and CA with concentrations expected")
if not rsca.is_concentr_and_param_compatible():
raise RuntimeError("RS and CA with concentrations (and parameters) expected")
self.rs = rsca.rs
self.ca = rsca.ca