예제 #1
0
 def ufc_minus(self):
     from until import UNTIL
     from _and import AND
     from _not import NOT
     return [UNTIL(AND(self.operand1, NOT(self.operand2)), 
                   AND(y, NOT(self.operand2)), self.lower_bound, self.upper_bound)
             for y in self.operand1.ufc_minus()] \
            + [UNTIL(AND(self.operand1, NOT(self.operand2)), 
                     AND(y, NOT(UNTIL(self.operand1, self.operand2, self.lower_bound, self.upper_bound))), 
                     self.lower_bound, self.upper_bound) for y in self.operand2.ufc_minus()]
예제 #2
0
 def picc(self):
     from _and import AND
     from _not import NOT
     from _or import OR
     return [UNTIL(AND(self.operand1, NOT(self.operand2)), 
                   AND(y, OR(self.operand2, UNTIL(self.operand1, self.operand2,
                                                  self.lower_bound, self.upper_bound))),
                   self.lower_bound, self.upper_bound) for y in self.operand1.picc()] \
            + [UNTIL(AND(self.operand1, NOT(self.operand2)), 
                     AND(y, OR(self.operand2, UNTIL(self.operand1, self.operand2,
                                                    self.lower_bound, self.upper_bound))),
                     self.lower_bound, self.upper_bound) for y in self.operand2.picc()]
예제 #3
0
 def ufc_minus(self):
     from until import UNTIL
     from _not import NOT
     from _and import AND
     from globally import GLOBALLY
     return [
         UNTIL(
             NOT(self.operand1),
             AND(
                 y,
                 GLOBALLY(NOT(self.operand1), self.lower_bound,
                          self.upper_bound)), self.lower_bound,
             self.upper_bound) for y in self.operand1.ufc_minus()
     ]
예제 #4
0
 def ufc_plus(self):
     from until import UNTIL
     from _not import NOT
     return [
         UNTIL(NOT(self.operand1), y, self.lower_bound, self.upper_bound)
         for y in self.operand1.ufc_plus()
     ]
예제 #5
0
 def picc(self):
     from until import UNTIL
     from _not import NOT
     from _and import AND
     from _or import OR
     return [
         UNTIL(
             NOT(self.operand1),
             AND(
                 y,
                 OR(
                     self.operand1,
                     FINALLY(self.operand1, self.lower_bound,
                             self.upper_bound))), self.lower_bound,
             self.upper_bound) for y in self.operand1.picc()
     ]
예제 #6
0
 def ufc_minus(self):
     from _not import NOT
     from until import UNTIL
     return NOT(
         UNTIL(NOT(self.operand1), NOT(self.operand2), self.lower_bound,
               self.upper_bound)).ufc_minus()
예제 #7
0
 def expand(self):
     from _not import NOT
     from until import UNTIL
     from ap import ap_true
     return NOT(UNTIL(ap_true, NOT(self.operand1.expand()), self.lower_bound, self.upper_bound))
예제 #8
0
 def picc(self):
     from _and import AND
     from _not import NOT
     return [AND(y, NOT(self.operand2)) for y in self.operand1.picc()] \
             + [AND(NOT(self.operand1), y) for y in self.operand2.picc()]
예제 #9
0
 def picc(self):
     from _not import NOT
     from until import UNTIL
     return NOT(
         UNTIL(NOT(self.operand1), NOT(self.operand2), self.lower_bound,
               self.upper_bound)).picc()
예제 #10
0
 def negationnormalform(self):
     from _or import OR
     from _not import NOT
     return OR(NOT(self.operand1), self.operand2).negationnormalform()
예제 #11
0
 def eno(self):
     from _not import NOT
     return [NOT(self)] + [AND(y, self.operand2) for y in self.operand1.eno()] \
            + [AND(self.operand1, y) for y in self.operand2.eno()]
예제 #12
0
 def ufc_minus(self):
     from _or import OR
     from _not import NOT
     return OR(NOT(self.operand1), self.operand2).ufc_minus()
예제 #13
0
 def picc(self):
     from _or import OR
     from _not import NOT
     return OR(NOT(self.operand1), self.operand2).picc()
예제 #14
0
 def expand(self):
     from _not import NOT
     from until import UNTIL
     return NOT(
         UNTIL(NOT(self.operand1.expand()), NOT(self.operand2.expand()),
               self.lower_bound, self.upper_bound))
예제 #15
0
파일: ap.py 프로젝트: gergia/STLInspector
 def picc(self):
     from _not import NOT
     return [self, NOT(self)]
예제 #16
0
파일: ap.py 프로젝트: gergia/STLInspector
 def ufc_minus(self):
     from _not import NOT
     return [NOT(self)]
예제 #17
0
파일: ap.py 프로젝트: gergia/STLInspector
 def ano(self):
     from _not import NOT
     return [NOT(self)]
예제 #18
0
파일: _or.py 프로젝트: gergia/STLInspector
 def ufc_minus(self):
     from _and import AND
     from _not import NOT
     return [AND(y, NOT(self.operand2)) for y in self.operand1.ufc_minus()] \
            + [AND(NOT(self.operand1), y) for y in self.operand2.ufc_minus()]