cleanup
This commit is contained in:
@@ -6,10 +6,7 @@ from rs.context_automaton import ContextAutomaton
|
||||
class ContextAutomatonWithConcentrations(ContextAutomaton):
|
||||
|
||||
def __init__(self, reaction_system):
|
||||
self._states = []
|
||||
self._transitions = []
|
||||
self._init_state = None
|
||||
self._reaction_system = reaction_system
|
||||
super(ContextAutomatonWithConcentrations, self).__init__(reaction_system)
|
||||
|
||||
def is_valid_context(self, context):
|
||||
if set([e for e,lvl in context]).issubset(self._reaction_system.background_set):
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
from rs import *
|
||||
from smt import *
|
||||
import rs_examples
|
||||
|
||||
def run_tests():
|
||||
|
||||
test_extended_automaton()
|
||||
# process()
|
||||
# test_extended_automaton()
|
||||
process()
|
||||
|
||||
def test_extended_automaton():
|
||||
|
||||
|
||||
6
rssmt.py
6
rssmt.py
@@ -21,10 +21,12 @@ profiling = False
|
||||
##################################################################
|
||||
|
||||
version = "2016/12/28/00"
|
||||
rsmc_banner = """Reaction Systems SMT-Based Model Checking
|
||||
rsmc_banner = """
|
||||
Reaction Systems SMT-Based Model Checking
|
||||
|
||||
Version: """ + version + """
|
||||
Author: Artur Męski <meski@ipipan.waw.pl> / <artur.meski@ncl.ac.uk>"""
|
||||
Author: Artur Męski <meski@ipipan.waw.pl> / <artur.meski@ncl.ac.uk>
|
||||
"""
|
||||
|
||||
##################################################################
|
||||
|
||||
|
||||
Reference in New Issue
Block a user