Microsoft.Z3.Context.BenchmarkToSMTString C# (CSharp) Méthode

BenchmarkToSMTString() public méthode

Convert a benchmark into an SMT-LIB formatted string.
public BenchmarkToSMTString ( string name, string logic, string status, string attributes, BoolExpr assumptions, BoolExpr formula ) : string
name string Name of the benchmark. The argument is optional.
logic string The benchmark logic.
status string The status string (sat, unsat, or unknown)
attributes string Other attributes, such as source, difficulty or category.
assumptions BoolExpr Auxiliary assumptions.
formula BoolExpr Formula to be checked for consistency in conjunction with assumptions.
Résultat string
        public string BenchmarkToSMTString(string name, string logic, string status, string attributes,
                                           BoolExpr[] assumptions, BoolExpr formula)
        {
            Contract.Requires(assumptions != null);
            Contract.Requires(formula != null);
            Contract.Ensures(Contract.Result<string>() != null);

            return Native.Z3_benchmark_to_smtlib_string(nCtx, name, logic, status, attributes,
                                            (uint)assumptions.Length, AST.ArrayToNative(assumptions),
                                            formula.NativeObject);
        }
Context