|
| | UserPropagatorBase (Context _ctx, Solver _solver) |
| |
| final Context | getCtx () |
| |
| final Solver | getSolver () |
| |
| abstract void | push () |
| |
| abstract void | pop (int number) |
| |
| abstract UserPropagatorBase | fresh (Context ctx) |
| |
| void | created (Expr<?> ast) |
| |
| void | fixed (Expr<?> var, Expr<?> value) |
| |
| void | eq (Expr<?> x, Expr<?> y) |
| |
| boolean | on_binding (Expr<?> q, Expr<?> inst) |
| |
| void | decide (Expr<?> var, int bit, boolean is_pos) |
| |
| void | fin () |
| |
| final void | add (Expr<?> expr) |
| |
| final boolean | conflict (Expr<?>[] fixed) |
| |
| final boolean | conflict (Expr<?>[] fixed, Expr<?>[] lhs, Expr<?>[] rhs) |
| |
| final boolean | consequence (Expr<?>[] fixed, Expr<?>[] lhs, Expr<?>[] rhs, Expr<?> conseq) |
| |
| final boolean | nextSplit (Expr<?> e, long idx, Z3_lbool phase) |
| |
Definition at line 6 of file UserPropagatorBase.java.
◆ UserPropagatorBase()
Definition at line 10 of file UserPropagatorBase.java.
10 {
11 super(_ctx.nCtx(), _solver.getNativeObject());
12 ctx = _ctx;
13 solver = _solver;
14 }
◆ add()
| final void add |
( |
Expr<?> |
expr | ) |
|
|
inline |
◆ conflict() [1/2]
| final boolean conflict |
( |
Expr<?>[] |
fixed | ) |
|
|
inline |
◆ conflict() [2/2]
| final boolean conflict |
( |
Expr<?>[] |
fixed, |
|
|
Expr<?>[] |
lhs, |
|
|
Expr<?>[] |
rhs |
|
) |
| |
|
inline |
Definition at line 102 of file UserPropagatorBase.java.
102 {
104 }
BoolExpr mkBool(boolean value)
final boolean consequence(Expr<?>[] fixed, Expr<?>[] lhs, Expr<?>[] rhs, Expr<?> conseq)
◆ consequence()
| final boolean consequence |
( |
Expr<?>[] |
fixed, |
|
|
Expr<?>[] |
lhs, |
|
|
Expr<?>[] |
rhs, |
|
|
Expr<?> |
conseq |
|
) |
| |
|
inline |
◆ created()
| void created |
( |
Expr<?> |
ast | ) |
|
|
inline |
◆ createdWrapper()
| final void createdWrapper |
( |
long |
last | ) |
|
|
inlineprotected |
◆ decide()
| void decide |
( |
Expr<?> |
var, |
|
|
int |
bit, |
|
|
boolean |
is_pos |
|
) |
| |
|
inline |
◆ decideWrapper()
| final void decideWrapper |
( |
long |
lvar, |
|
|
int |
bit, |
|
|
boolean |
is_pos |
|
) |
| |
|
inlineprotected |
Definition at line 71 of file UserPropagatorBase.java.
71 {
72 Expr var = new Expr(ctx, lvar);
74 }
void decide(Expr<?> var, int bit, boolean is_pos)
◆ eq()
◆ eqWrapper()
| final void eqWrapper |
( |
long |
lx, |
|
|
long |
ly |
|
) |
| |
|
inlineprotected |
Definition at line 40 of file UserPropagatorBase.java.
40 {
41 Expr x = new Expr(ctx, lx);
42 Expr y = new Expr(ctx, ly);
44 }
void eq(Expr<?> x, Expr<?> y)
◆ fin()
◆ finWrapper()
| final void finWrapper |
( |
| ) |
|
|
inlineprotected |
◆ fixed()
| void fixed |
( |
Expr<?> |
var, |
|
|
Expr<?> |
value |
|
) |
| |
|
inline |
◆ fixedWrapper()
| final void fixedWrapper |
( |
long |
lvar, |
|
|
long |
lvalue |
|
) |
| |
|
inlineprotected |
Definition at line 64 of file UserPropagatorBase.java.
64 {
65 Expr var = new Expr(ctx, lvar);
66 Expr value = new Expr(ctx, lvalue);
68 }
◆ fresh()
◆ freshWrapper()
◆ getCtx()
◆ getSolver()
◆ nextSplit()
| final boolean nextSplit |
( |
Expr<?> |
e, |
|
|
long |
idx, |
|
|
Z3_lbool |
phase |
|
) |
| |
|
inline |
Definition at line 112 of file UserPropagatorBase.java.
112 {
113 return Native.propagateNextSplit(
114 this, ctx.
nCtx(), solver.getNativeObject(), javainfo,
115 e.getNativeObject(), idx, phase.toInt());
116 }
◆ on_binding()
| boolean on_binding |
( |
Expr<?> |
q, |
|
|
Expr<?> |
inst |
|
) |
| |
|
inline |
◆ onBindingWrapper()
| final boolean onBindingWrapper |
( |
long |
lq, |
|
|
long |
linst |
|
) |
| |
|
inlineprotected |
Definition at line 47 of file UserPropagatorBase.java.
47 {
48 Expr q = new Expr(ctx, lq);
49 Expr inst = new Expr(ctx, linst);
51 }
boolean on_binding(Expr<?> q, Expr<?> inst)
◆ pop()
| abstract void pop |
( |
int |
number | ) |
|
|
abstract |
◆ popWrapper()
| final void popWrapper |
( |
int |
number | ) |
|
|
inlineprotected |
◆ push()
◆ pushWrapper()
| final void pushWrapper |
( |
| ) |
|
|
inlineprotected |