mirror of
https://github.com/Z3Prover/z3
synced 2025-06-06 14:13:23 +00:00
parent
7bc3b4e381
commit
f591e0948a
8 changed files with 209 additions and 210 deletions
|
@ -42,7 +42,7 @@ class RC2:
|
|||
return name
|
||||
|
||||
def print_cost(self):
|
||||
print("max cost", self.max_cost, "min cost", self.min_cost)
|
||||
print("cost [", self.min_cost, ":", self.max_cost, "]")
|
||||
|
||||
def update_max_cost(self):
|
||||
self.max_cost = min(self.max_cost, self.get_cost())
|
||||
|
@ -142,5 +142,8 @@ def main(file):
|
|||
print(cost)
|
||||
print(s.statistics())
|
||||
|
||||
if len(sys.argv) > 1:
|
||||
main(sys.argv[1])
|
||||
|
||||
# main(<myfile>)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue