logics module

This commit is contained in:
Artur Meski
2017-03-02 20:59:07 +01:00
parent 68c824e2f1
commit 2abf76ae72
3 changed files with 138 additions and 0 deletions

View File

@@ -9,6 +9,8 @@ from itertools import chain
import resource
from colour import *
import logics
# def simplify(x):
# return x
@@ -362,6 +364,11 @@ class SmtCheckerRSC(object):
if int(var_rep) > 0:
print(" " + self.rs.get_entity_name(var_id) + "=" + var_rep, end="")
print(" }")
def check_rsltl(self, formula, print_witness=True):
"""Bounded Model Checking for rsLTL properties"""
def check_reachability(self, state, print_witness=True,
print_time=True, print_mem=True, max_level=100):