C# Класс Microsoft.Z3.Model

Наследование: Z3Object
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ConstInterp ( Expr a ) : Expr

Retrieves the interpretation (the assignment) of a in the model.

ConstInterp ( FuncDecl f ) : Expr

Retrieves the interpretation (the assignment) of f in the model.

Eval ( Expr t, bool completion = false ) : Expr

Evaluates the expression t in the current model.

This function may fail if t contains quantifiers, is partial (MODEL_PARTIAL enabled), or if t is not well-sorted. In this case a ModelEvaluationFailedException is thrown.

Evaluate ( Expr t, bool completion = false ) : Expr

Alias for Eval.

FuncInterp ( FuncDecl f ) : FuncInterp

Retrieves the interpretation (the assignment) of a non-constant f in the model.

SortUniverse ( Microsoft.Z3.Sort s ) : Microsoft.Z3.Expr[]

The finite set of distinct values that represent the interpretation for sort s.

ToString ( ) : string

Conversion of models to strings.

Приватные методы

Метод Описание
DecRef ( IntPtr o ) : void
IncRef ( IntPtr o ) : void
Model ( Context ctx, IntPtr obj ) : System

Описание методов

ConstInterp() публичный Метод

Retrieves the interpretation (the assignment) of a in the model.
public ConstInterp ( Expr a ) : Expr
a Expr A Constant
Результат Expr

ConstInterp() публичный Метод

Retrieves the interpretation (the assignment) of f in the model.
public ConstInterp ( FuncDecl f ) : Expr
f FuncDecl A function declaration of zero arity
Результат Expr

Eval() публичный Метод

Evaluates the expression t in the current model.
This function may fail if t contains quantifiers, is partial (MODEL_PARTIAL enabled), or if t is not well-sorted. In this case a ModelEvaluationFailedException is thrown.
public Eval ( Expr t, bool completion = false ) : Expr
t Expr An expression
completion bool /// When this flag is enabled, a model value will be assigned to any constant /// or function that does not have an interpretation in the model. ///
Результат Expr

Evaluate() публичный Метод

Alias for Eval.
public Evaluate ( Expr t, bool completion = false ) : Expr
t Expr
completion bool
Результат Expr

FuncInterp() публичный Метод

Retrieves the interpretation (the assignment) of a non-constant f in the model.
public FuncInterp ( FuncDecl f ) : FuncInterp
f FuncDecl A function declaration of non-zero arity
Результат FuncInterp

SortUniverse() публичный Метод

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
Результат Microsoft.Z3.Expr[]

ToString() публичный Метод

Conversion of models to strings.
public ToString ( ) : string
Результат string