How to get statistics in Z3 3.2?

拥有回忆 提交于 2020-01-06 04:00:41

问题


With Z3 2.x I used the SMTLib2 command

(get-info statistics)

to get statistics of a Z3 run. Using Z3 3.2 I get

(error "line _ column _: invalid command argument, keyword expected")

for the above, and to

(get-info :statistics)

Z3 replies with

unsupported

What's the new way of getting statistics (other than the /st command-line option)?


And while we're at it: The INI options page lists
(set-option :STATISTICS true)

as a valid option, but Z3 3.2 again replies with

unsupported

回答1:


(get-info :all-statistics)

should do the trick.

Official example: http://rise4fun.com/Z3/doc_examples



来源:https://stackoverflow.com/questions/8786081/how-to-get-statistics-in-z3-3-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!