[英]How to run Z3 using multiple cores in Java?
I am trying to improve the time of my Z3 code.我正在尝试改善我的 Z3 代码的时间。 Java is used in Z3 of my environment, and the version of Z3 is 4.8.10.
我的环境Z3用的是Java,Z3的版本是4.8.10。
To enable parallel mode in C ++, you should set set_param ("parallel.enable", true) ;.要在 C++ 中启用并行模式,您应该设置 set_param ("parallel.enable", true) ;。 In the case of Java, how can I set it to parallel mode?
在 Java 的情况下,如何将其设置为并行模式? I would like to ask for sample code if you like.
如果您愿意,我想索取示例代码。
Thank you.谢谢你。
The corresponding call in the Java bindings is called setParameter
. Java 绑定中的相应调用称为
setParameter
。 See here: https://z3prover.github.io/api/html/classcom_1_1microsoft_1_1z3_1_1_global.html#a38c6a465971f85a3c1826cf985ef3a56见这里: https : //z3prover.github.io/api/html/classcom_1_1microsoft_1_1z3_1_1_global.html#a38c6a465971f85a3c1826cf985ef3a56
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.