3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-06 14:13:23 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-11-22 15:28:33 -08:00
parent 7bc3b4e381
commit f591e0948a
8 changed files with 209 additions and 210 deletions

View file

@ -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>)