Microsoft.Z3.Model.SortUniverse C# (CSharp) Méthode

SortUniverse() public méthode

The finite set of distinct values that represent the interpretation for sort s.
public SortUniverse ( Microsoft.Z3.Sort s ) : Microsoft.Z3.Expr[]
s Microsoft.Z3.Sort An uninterpreted sort
Résultat Microsoft.Z3.Expr[]
        public Expr[] SortUniverse(Sort s)
        {
            Contract.Requires(s != null);
            Contract.Ensures(Contract.Result<Expr[]>() != null);

            ASTVector nUniv = new ASTVector(Context, Native.Z3_model_get_sort_universe(Context.nCtx, NativeObject, s.NativeObject));
            uint n = nUniv.Size;
            Expr[] res = new Expr[n];
            for (uint i = 0; i < n; i++)
                res[i] = Expr.Create(Context, nUniv[i].NativeObject);
            return res;
        }