Examples, default concentration
This commit is contained in:
@@ -66,14 +66,11 @@ def gen_expr():
|
|||||||
# ltl_X(bag_Not("h"), exact_state("X", all_entities))))
|
# ltl_X(bag_Not("h"), exact_state("X", all_entities))))
|
||||||
#
|
#
|
||||||
|
|
||||||
# param_constr = param_entity(lda, "yp") == 0
|
pc = param_entity(lda, "a") == 0
|
||||||
|
|
||||||
f = ltl_F(bag_entity("h") == 0, "c")
|
f = ltl_F(bag_entity("h") == 0, "c")
|
||||||
|
|
||||||
checker = SmtCheckerRSCParam(crprs, optimise=True)
|
checker = SmtCheckerRSCParam(crprs, optimise=True)
|
||||||
checker.check_rsltl(formulae_list=[f])
|
checker.check_rsltl(formulae_list=[f], param_constr=pc)
|
||||||
|
|
||||||
#, param_constr=param_constr)
|
|
||||||
|
|
||||||
|
|
||||||
gen_expr()
|
gen_expr()
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ class ReactionSystemWithConcentrationsParam(ReactionSystem):
|
|||||||
self.background_set = []
|
self.background_set = []
|
||||||
self.context_entities = [] # legacy. to be removed
|
self.context_entities = [] # legacy. to be removed
|
||||||
self.reactions_by_prod = None
|
self.reactions_by_prod = None
|
||||||
self.max_concentration = 0
|
self.max_concentration = 1
|
||||||
self.max_conc_per_ent = dict()
|
self.max_conc_per_ent = dict()
|
||||||
|
|
||||||
def add_bg_set_entity(self, e):
|
def add_bg_set_entity(self, e):
|
||||||
|
|||||||
Reference in New Issue
Block a user