C# 클래스 Microsoft.Z3.Model

상속: Z3Object
파일 보기 프로젝트 열기: sslab-gatech/juxta 1 사용 예제들

공개 메소드들

메소드 설명
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