Modified fastboolean eval
This commit is contained in:
parent
00eec50f79
commit
a13741da69
1 changed files with 1 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ def bool_op(stl, conjunction=False):
|
||||||
f = and_ if conjunction else or_
|
f = and_ if conjunction else or_
|
||||||
def sat_comp(x,t):
|
def sat_comp(x,t):
|
||||||
sat = bitarray(len(t))
|
sat = bitarray(len(t))
|
||||||
|
sat.setall(True) if conjunction else sat.setall(False)
|
||||||
for arg in stl.args:
|
for arg in stl.args:
|
||||||
sat = f(pointwise_satf(arg)(x, t), sat)
|
sat = f(pointwise_satf(arg)(x, t), sat)
|
||||||
return sat
|
return sat
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue