C# Class Microsoft.Z3.Model

Inheritance: Z3Object
Afficher le fichier Open project: sslab-gatech/juxta Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
DecRef ( IntPtr o ) : void
IncRef ( IntPtr o ) : void
Model ( Context ctx, IntPtr obj ) : System

Method Details

ConstInterp() public méthode

Retrieves the interpretation (the assignment) of a in the model.
public ConstInterp ( Expr a ) : Expr
a Expr A Constant
Résultat Expr

ConstInterp() public méthode

Retrieves the interpretation (the assignment) of f in the model.
public ConstInterp ( FuncDecl f ) : Expr
f FuncDecl A function declaration of zero arity
Résultat Expr

Eval() public méthode

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. ///
Résultat Expr

Evaluate() public méthode

Alias for Eval.
public Evaluate ( Expr t, bool completion = false ) : Expr
t Expr
completion bool
Résultat Expr

FuncInterp() public méthode

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
Résultat FuncInterp

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[]

ToString() public méthode

Conversion of models to strings.
public ToString ( ) : string
Résultat string