Examples and clean-ups #1

Merged
Ghost merged 14 commits from drs_examples into master 2023-11-06 21:09:08 +00:00
Showing only changes of commit 1488ad1501 - Show all commits

View File

@@ -257,10 +257,8 @@ class DRSGenerator:
def generate_formula(self):
r = "rsctlk-property { f4 : AG( proc0.in IMPLIES C[proc0,proc1,proc2](~proc1.in AND ~proc2.in) ) };"
disjunction = " OR ".join([f"proc{i}.TF" for i in range(1, self.x + 1)])
conjunction = " AND ".join([f"~proc{i}.TF" for i in range(1, self.x + 1)])
disjunction = " OR ".join([f"proc{i}.TF" for i in range(1, self.y + 1)])
conjunction = " AND ".join([f"~proc{i}.TF" for i in range(1, self.y + 1)])
r = (
"rsctlk-property { f0 : AG( K[proc0]( "