Examples, default concentration

This commit is contained in:
Artur Meski
2019-01-01 16:06:57 +00:00
parent c990b33d96
commit 0e4a58a9af
2 changed files with 3 additions and 6 deletions

View File

@@ -66,14 +66,11 @@ def gen_expr():
# 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")
checker = SmtCheckerRSCParam(crprs, optimise=True)
checker.check_rsltl(formulae_list=[f])
#, param_constr=param_constr)
checker.check_rsltl(formulae_list=[f], param_constr=pc)
gen_expr()

View File

@@ -28,7 +28,7 @@ class ReactionSystemWithConcentrationsParam(ReactionSystem):
self.background_set = []
self.context_entities = [] # legacy. to be removed
self.reactions_by_prod = None
self.max_concentration = 0
self.max_concentration = 1
self.max_conc_per_ent = dict()
def add_bg_set_entity(self, e):