2013-05-14 58 views

回答

4

你說得很好。您可以發送到.NET API的參數不會與.NET代碼一起描述。但是,他們正在調用基於C的API,並且基於C的API的註釋(http://z3.codeplex.com/SourceControl/latest#src/api/z3_api.h)列出了可以傳遞給上下文的一組配置參數。他們是:

 - proof (Boolean)   Enable proof generation 
     - debug_ref_count (Boolean) Enable debug support for Z3_ast reference counting 
     - trace (Boolean)   Tracing support for VCC 
     - trace_file_name (String) Trace out file for VCC traces 
     - timeout (unsigned)   default timeout (in milliseconds) used for solvers 
     - well_sorted_check   type checker 
     - auto_config    use heuristics to automatically select solver and configure it 
     - model      model generation for solvers, this parameter can be overwritten when creating a solver 
     - model_validate    validate models produced by solvers 
     - unsat_core     unsat-core generation for solvers, this parameter can be overwritten when creating a solver 
+0

感謝您指出這一點,也感謝尼古拉斯快速回答。我現在已經將這些信息添加到.NET和Java APIs/Docs中。 – 2013-05-17 12:42:25

+0

@Christoph你能告訴我你在哪裏添加了這個選項的文檔嗎?我在http://research.microsoft.com/en-us/um/redmond/projects/z3/class_microsoft_1_1_z3_1_1_context.html#ae996a436d55a3e34afe5971705ff9699上看不到它們。 – 2013-05-30 02:18:52

+0

另外,如果我嘗試'(「UNSAT_CORE」,「true」)'作爲字典選項,我會得到'錯誤設置UNSAT_CORE,未知選項。 'una_core'也不被識別。請您告訴我選項名稱是從.NET API – 2013-05-30 02:21:40

相關問題