#include <z3++.h>
|
| probe | operator<= (probe const &p1, probe const &p2) |
| probe | operator<= (probe const &p1, double p2) |
| probe | operator<= (double p1, probe const &p2) |
| probe | operator>= (probe const &p1, probe const &p2) |
| probe | operator>= (probe const &p1, double p2) |
| probe | operator>= (double p1, probe const &p2) |
| probe | operator< (probe const &p1, probe const &p2) |
| probe | operator< (probe const &p1, double p2) |
| probe | operator< (double p1, probe const &p2) |
| probe | operator> (probe const &p1, probe const &p2) |
| probe | operator> (probe const &p1, double p2) |
| probe | operator> (double p1, probe const &p2) |
| probe | operator== (probe const &p1, probe const &p2) |
| probe | operator== (probe const &p1, double p2) |
| probe | operator== (double p1, probe const &p2) |
| probe | operator&& (probe const &p1, probe const &p2) |
| probe | operator|| (probe const &p1, probe const &p2) |
| probe | operator! (probe const &p) |
Definition at line 3380 of file z3++.h.
◆ probe() [1/4]
| probe |
( |
context & | c, |
|
|
char const * | name ) |
|
inline |
Definition at line 3387 of file z3++.h.
3387:object(c) { Z3_probe r =
Z3_mk_probe(c, name); check_error(); init(r); }
Z3_probe Z3_API Z3_mk_probe(Z3_context c, Z3_string name)
Return a probe associated with the given name. The complete list of probes may be obtained using the ...
Referenced by operator!, operator&&, operator<, operator<, operator<, operator<=, operator<=, operator<=, operator=(), operator==, operator==, operator==, operator>, operator>, operator>, operator>=, operator>=, operator>=, operator||, and probe().
◆ probe() [2/4]
Definition at line 3388 of file z3++.h.
3388:object(c) { Z3_probe r =
Z3_probe_const(c, val); check_error(); init(r); }
Z3_probe Z3_API Z3_probe_const(Z3_context x, double val)
Return a probe that always evaluates to val.
◆ probe() [3/4]
Definition at line 3389 of file z3++.h.
3389:object(c) { init(s); }
◆ probe() [4/4]
Definition at line 3390 of file z3++.h.
3390:object(s) { init(s.m_probe); }
◆ ~probe()
Definition at line 3391 of file z3++.h.
void Z3_API Z3_probe_dec_ref(Z3_context c, Z3_probe p)
Decrement the reference counter of the given probe.
◆ apply()
| double apply |
( |
goal const & | g | ) |
const |
|
inline |
Definition at line 3400 of file z3++.h.
3400{
double r =
Z3_probe_apply(ctx(), m_probe, g); check_error();
return r; }
double Z3_API Z3_probe_apply(Z3_context c, Z3_probe p, Z3_goal g)
Execute the probe over the goal. The probe always produce a double value. "Boolean" probes return 0....
Referenced by operator()().
◆ operator Z3_probe()
| operator Z3_probe |
( |
| ) |
const |
|
inline |
◆ operator()()
| double operator() |
( |
goal const & | g | ) |
const |
|
inline |
◆ operator=()
Definition at line 3393 of file z3++.h.
3393 {
3396 object::operator=(s);
3397 m_probe = s.m_probe;
3398 return *this;
3399 }
void Z3_API Z3_probe_inc_ref(Z3_context c, Z3_probe p)
Increment the reference counter of the given probe.
◆ operator!
Definition at line 3453 of file z3++.h.
3453 {
3454 Z3_probe r =
Z3_probe_not(p.ctx(), p); p.check_error();
return probe(p.ctx(), r);
3455 }
Z3_probe Z3_API Z3_probe_not(Z3_context x, Z3_probe p)
Return a probe that evaluates to "true" when p does not evaluate to true.
◆ operator&&
Definition at line 3447 of file z3++.h.
3447 {
3449 }
Z3_probe Z3_API Z3_probe_and(Z3_context x, Z3_probe p1, Z3_probe p2)
Return a probe that evaluates to "true" when p1 and p2 evaluates to true.
void check_context(object const &a, object const &b)
◆ operator< [1/3]
Definition at line 3436 of file z3++.h.
3436{ return probe(p2.ctx(), p1) < p2; }
◆ operator< [2/3]
Definition at line 3435 of file z3++.h.
3435{ return p1 < probe(p1.ctx(), p2); }
◆ operator< [3/3]
Definition at line 3432 of file z3++.h.
3432 {
3434 }
Z3_probe Z3_API Z3_probe_lt(Z3_context x, Z3_probe p1, Z3_probe p2)
Return a probe that evaluates to "true" when the value returned by p1 is less than the value returned...
◆ operator<= [1/3]
Definition at line 3426 of file z3++.h.
3426{ return probe(p2.ctx(), p1) <= p2; }
◆ operator<= [2/3]
Definition at line 3425 of file z3++.h.
3425{ return p1 <= probe(p1.ctx(), p2); }
◆ operator<= [3/3]
Definition at line 3422 of file z3++.h.
3422 {
3424 }
Z3_probe Z3_API Z3_probe_le(Z3_context x, Z3_probe p1, Z3_probe p2)
Return a probe that evaluates to "true" when the value returned by p1 is less than or equal to the va...
◆ operator== [1/3]
Definition at line 3446 of file z3++.h.
3446{ return probe(p2.ctx(), p1) == p2; }
◆ operator== [2/3]
Definition at line 3445 of file z3++.h.
3445{ return p1 == probe(p1.ctx(), p2); }
◆ operator== [3/3]
Definition at line 3442 of file z3++.h.
3442 {
3444 }
Z3_probe Z3_API Z3_probe_eq(Z3_context x, Z3_probe p1, Z3_probe p2)
Return a probe that evaluates to "true" when the value returned by p1 is equal to the value returned ...
◆ operator> [1/3]
Definition at line 3441 of file z3++.h.
3441{ return probe(p2.ctx(), p1) > p2; }
◆ operator> [2/3]
Definition at line 3440 of file z3++.h.
3440{ return p1 > probe(p1.ctx(), p2); }
◆ operator> [3/3]
Definition at line 3437 of file z3++.h.
3437 {
3439 }
Z3_probe Z3_API Z3_probe_gt(Z3_context x, Z3_probe p1, Z3_probe p2)
Return a probe that evaluates to "true" when the value returned by p1 is greater than the value retur...
◆ operator>= [1/3]
Definition at line 3431 of file z3++.h.
3431{ return probe(p2.ctx(), p1) >= p2; }
◆ operator>= [2/3]
Definition at line 3430 of file z3++.h.
3430{ return p1 >= probe(p1.ctx(), p2); }
◆ operator>= [3/3]
Definition at line 3427 of file z3++.h.
3427 {
3429 }
Z3_probe Z3_API Z3_probe_ge(Z3_context x, Z3_probe p1, Z3_probe p2)
Return a probe that evaluates to "true" when the value returned by p1 is greater than or equal to the...
◆ operator||
Definition at line 3450 of file z3++.h.
3450 {
3452 }
Z3_probe Z3_API Z3_probe_or(Z3_context x, Z3_probe p1, Z3_probe p2)
Return a probe that evaluates to "true" when p1 or p2 evaluates to true.