C# 클래스 Microsoft.Z3.Fixedpoint

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

공개 메소드들

메소드 설명
Add ( ) : void

Alias for Assert.

AddCover ( int level, FuncDecl predicate, Expr property ) : void

Add property about the predicate. The property is added at level.

AddFact ( FuncDecl pred ) : void

Add table fact to the fixedpoint solver.

AddRule ( BoolExpr rule, Symbol name = null ) : void

Add rule into the fixedpoint solver.

Assert ( ) : void

Assert a constraint (or multiple) into the fixedpoint solver.

GetAnswer ( ) : Expr

Retrieve satisfying instance or instances of solver, or definitions for the recursive predicates that show unsatisfiability.

GetCoverDelta ( int level, FuncDecl predicate ) : Expr

Retrieve the cover of a predicate.

GetNumLevels ( FuncDecl predicate ) : uint

Retrieve the number of levels explored for a given predicate.

GetReasonUnknown ( ) : string

Retrieve explanation why fixedpoint engine returned status Unknown.

ParseFile ( string file ) : Microsoft.Z3.BoolExpr[]

Parse an SMT-LIB2 file with fixedpoint rules. Add the rules to the current fixedpoint context. Return the set of queries in the file.

ParseString ( string s ) : Microsoft.Z3.BoolExpr[]

Similar to ParseFile. Instead it takes as argument a string.

Pop ( ) : void

Backtrack one backtracking point.

Note that an exception is thrown if Pop is called without a corresponding Push

Push ( ) : void

Creates a backtracking point.

Query ( BoolExpr query ) : Status

Query the fixedpoint solver. A query is a conjunction of constraints. The constraints may include the recursively defined relations. The query is satisfiable if there is an instance of the query variables and a derivation for it. The query is unsatisfiable if there are no derivations satisfying the query variables.

Query ( FuncDecl relations ) : Status

Query the fixedpoint solver. A query is an array of relations. The query is satisfiable if there is an instance of some relation that is non-empty. The query is unsatisfiable if there are no derivations satisfying any of the relations.

RegisterRelation ( FuncDecl f ) : void

Register predicate as recursive relation.

SetPredicateRepresentation ( FuncDecl f, Symbol kinds ) : void

Instrument the Datalog engine on which table representation to use for recursive predicate.

ToString ( ) : string

Retrieve internal string representation of fixedpoint object.

ToString ( BoolExpr queries ) : string

Convert benchmark given as set of axioms, rules and queries to a string.

UpdateRule ( BoolExpr rule, Symbol name ) : void

Update named rule into in the fixedpoint solver.

비공개 메소드들

메소드 설명
DecRef ( IntPtr o ) : void
Fixedpoint ( Context ctx ) : System
Fixedpoint ( Context ctx, IntPtr obj ) : System
IncRef ( IntPtr o ) : void
ToBoolExprs ( ASTVector v ) : Microsoft.Z3.BoolExpr[]

메소드 상세

Add() 공개 메소드

Alias for Assert.
public Add ( ) : void
리턴 void

AddCover() 공개 메소드

Add property about the predicate. The property is added at level.
public AddCover ( int level, FuncDecl predicate, Expr property ) : void
level int
predicate FuncDecl
property Expr
리턴 void

AddFact() 공개 메소드

Add table fact to the fixedpoint solver.
public AddFact ( FuncDecl pred ) : void
pred FuncDecl
리턴 void

AddRule() 공개 메소드

Add rule into the fixedpoint solver.
public AddRule ( BoolExpr rule, Symbol name = null ) : void
rule BoolExpr
name Symbol
리턴 void

Assert() 공개 메소드

Assert a constraint (or multiple) into the fixedpoint solver.
public Assert ( ) : void
리턴 void

GetAnswer() 공개 메소드

Retrieve satisfying instance or instances of solver, or definitions for the recursive predicates that show unsatisfiability.
public GetAnswer ( ) : Expr
리턴 Expr

GetCoverDelta() 공개 메소드

Retrieve the cover of a predicate.
public GetCoverDelta ( int level, FuncDecl predicate ) : Expr
level int
predicate FuncDecl
리턴 Expr

GetNumLevels() 공개 메소드

Retrieve the number of levels explored for a given predicate.
public GetNumLevels ( FuncDecl predicate ) : uint
predicate FuncDecl
리턴 uint

GetReasonUnknown() 공개 메소드

Retrieve explanation why fixedpoint engine returned status Unknown.
public GetReasonUnknown ( ) : string
리턴 string

ParseFile() 공개 메소드

Parse an SMT-LIB2 file with fixedpoint rules. Add the rules to the current fixedpoint context. Return the set of queries in the file.
public ParseFile ( string file ) : Microsoft.Z3.BoolExpr[]
file string
리턴 Microsoft.Z3.BoolExpr[]

ParseString() 공개 메소드

Similar to ParseFile. Instead it takes as argument a string.
public ParseString ( string s ) : Microsoft.Z3.BoolExpr[]
s string
리턴 Microsoft.Z3.BoolExpr[]

Pop() 공개 메소드

Backtrack one backtracking point.
Note that an exception is thrown if Pop is called without a corresponding Push
public Pop ( ) : void
리턴 void

Push() 공개 메소드

Creates a backtracking point.
public Push ( ) : void
리턴 void

Query() 공개 메소드

Query the fixedpoint solver. A query is a conjunction of constraints. The constraints may include the recursively defined relations. The query is satisfiable if there is an instance of the query variables and a derivation for it. The query is unsatisfiable if there are no derivations satisfying the query variables.
public Query ( BoolExpr query ) : Status
query BoolExpr
리턴 Status

Query() 공개 메소드

Query the fixedpoint solver. A query is an array of relations. The query is satisfiable if there is an instance of some relation that is non-empty. The query is unsatisfiable if there are no derivations satisfying any of the relations.
public Query ( FuncDecl relations ) : Status
relations FuncDecl
리턴 Status

RegisterRelation() 공개 메소드

Register predicate as recursive relation.
public RegisterRelation ( FuncDecl f ) : void
f FuncDecl
리턴 void

SetPredicateRepresentation() 공개 메소드

Instrument the Datalog engine on which table representation to use for recursive predicate.
public SetPredicateRepresentation ( FuncDecl f, Symbol kinds ) : void
f FuncDecl
kinds Symbol
리턴 void

ToString() 공개 메소드

Retrieve internal string representation of fixedpoint object.
public ToString ( ) : string
리턴 string

ToString() 공개 메소드

Convert benchmark given as set of axioms, rules and queries to a string.
public ToString ( BoolExpr queries ) : string
queries BoolExpr
리턴 string

UpdateRule() 공개 메소드

Update named rule into in the fixedpoint solver.
public UpdateRule ( BoolExpr rule, Symbol name ) : void
rule BoolExpr
name Symbol
리턴 void