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

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

Private Properties

Свойство Тип Описание
CheckNativeObject void
Create Expr
Create Expr

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

Метод Описание
Simplify ( Params p = null ) : Expr

Returns a simplified version of the expression.

Substitute ( Expr from, Expr to ) : Expr

Substitute every occurrence of from[i] in the expression with to[i], for i smaller than num_exprs.

The result is the new expression. The arrays from and to must have size num_exprs. For every i smaller than num_exprs, we must have that sort of from[i] must be equal to sort of to[i].

SubstituteVars ( Expr to ) : Expr

Substitute the free variables in the expression with the expressions in to

For every i smaller than num_exprs, the variable with de-Bruijn index i is replaced with term to[i].

ToString ( ) : string

Returns a string representation of the expression.

Translate ( Context ctx ) : Expr

Translates (copies) the term to the Context ctx.

Update ( Expr args ) : void

Update the arguments of the expression using the arguments args The number of new arguments should coincide with the current number of arguments.

Защищенные методы

Метод Описание
Expr ( Context ctx ) : System

Constructor for Expr

Expr ( Context ctx, IntPtr obj ) : System

Constructor for Expr

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

Метод Описание
CheckNativeObject ( IntPtr obj ) : void
Create ( Context ctx, FuncDecl f ) : Expr
Create ( Context ctx, IntPtr obj ) : Expr

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

Expr() защищенный Метод

Constructor for Expr
protected Expr ( Context ctx ) : System
ctx Context
Результат System

Expr() защищенный Метод

Constructor for Expr
protected Expr ( Context ctx, IntPtr obj ) : System
ctx Context
obj System.IntPtr
Результат System

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

Returns a simplified version of the expression.
public Simplify ( Params p = null ) : Expr
p Params A set of parameters to configure the simplifier
Результат Expr

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

Substitute every occurrence of from[i] in the expression with to[i], for i smaller than num_exprs.
The result is the new expression. The arrays from and to must have size num_exprs. For every i smaller than num_exprs, we must have that sort of from[i] must be equal to sort of to[i].
public Substitute ( Expr from, Expr to ) : Expr
from Expr
to Expr
Результат Expr

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

Substitute the free variables in the expression with the expressions in to
For every i smaller than num_exprs, the variable with de-Bruijn index i is replaced with term to[i].
public SubstituteVars ( Expr to ) : Expr
to Expr
Результат Expr

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

Returns a string representation of the expression.
public ToString ( ) : string
Результат string

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

Translates (copies) the term to the Context ctx.
public Translate ( Context ctx ) : Expr
ctx Context A context
Результат Expr

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

Update the arguments of the expression using the arguments args The number of new arguments should coincide with the current number of arguments.
public Update ( Expr args ) : void
args Expr
Результат void