Relation sorts.
More...
|
| uint | Arity [get] |
| | The arity of the relation sort.
|
| |
| Sort[] | ColumnSorts [get] |
| | The sorts of the columns of the relation sort.
|
| |
| new uint | Id [get] |
| | Returns a unique identifier for the sort.
|
| |
| Z3_sort_kind | SortKind [get] |
| | The kind of the sort.
|
| |
| Symbol | Name [get] |
| | The name of the sort.
|
| |
| uint | Id [get] |
| | A unique identifier for the AST (unique among all ASTs).
|
| |
| Z3_ast_kind | ASTKind [get] |
| | The kind of the AST.
|
| |
| bool | IsExpr [get] |
| | Indicates whether the AST is an Expr.
|
| |
| bool | IsApp [get] |
| | Indicates whether the AST is an application.
|
| |
| bool | IsVar [get] |
| | Indicates whether the AST is a BoundVariable.
|
| |
| bool | IsQuantifier [get] |
| | Indicates whether the AST is a Quantifier.
|
| |
| bool | IsSort [get] |
| | Indicates whether the AST is a Sort.
|
| |
| bool | IsFuncDecl [get] |
| | Indicates whether the AST is a FunctionDeclaration.
|
| |
| Context | Context [get] |
| | Access Context object.
|
| |
|
| override bool | Equals (object o) |
| | Equality operator for objects of type Sort.
|
| |
| override int | GetHashCode () |
| | Hash code generation for Sorts.
|
| |
| override string | ToString () |
| | A string representation of the sort.
|
| |
| new Sort | Translate (Context ctx) |
| | Translates (copies) the sort to the Context ctx .
|
| |
| override bool | Equals (object o) |
| | Object comparison.
|
| |
| virtual int | CompareTo (object other) |
| | Object Comparison.
|
| |
| override int | GetHashCode () |
| | The AST's hash code.
|
| |
| AST | Translate (Context ctx) |
| | Translates (copies) the AST to the Context ctx .
|
| |
| override string | ToString () |
| | A string representation of the AST.
|
| |
| string | SExpr () |
| | A string representation of the AST in s-expression notation.
|
| |
| void | Dispose () |
| | Disposes of the underlying native Z3 object.
|
| |
| static bool | operator== (Sort a, Sort b) |
| | Comparison operator.
|
| |
| static bool | operator!= (Sort a, Sort b) |
| | Comparison operator.
|
| |
| static bool | operator== (AST a, AST b) |
| | Comparison operator.
|
| |
| static bool | operator!= (AST a, AST b) |
| | Comparison operator.
|
| |
Relation sorts.
Definition at line 28 of file RelationSort.cs.
◆ Arity
The arity of the relation sort.
Definition at line 33 of file RelationSort.cs.
34 {
35 get {
return Native.Z3_get_relation_arity(
Context.nCtx, NativeObject); }
36 }
Context Context
Access Context object.
◆ ColumnSorts
The sorts of the columns of the relation sort.
Definition at line 41 of file RelationSort.cs.
42 {
43 get
44 {
45
46 if (m_columnSorts != null)
47 return m_columnSorts;
48
50 Sort[] res = new Sort[n];
51 for (uint i = 0; i < n; i++)
52 res[i] = Sort.Create(Context, Native.Z3_get_relation_column(
Context.nCtx, NativeObject, i));
53 return res;
54 }
55 }
uint Arity
The arity of the relation sort.