#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 3595 of file z3++.h.
◆ probe() [1/4]
Definition at line 3602 of file z3++.h.
Z3_error_code check_error() const
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 ...
◆ probe() [2/4]
Definition at line 3603 of file z3++.h.
Z3_probe Z3_API Z3_probe_const(Z3_context x, double val)
Return a probe that always evaluates to val.
◆ probe() [3/4]
◆ probe() [4/4]
◆ ~probe()
Definition at line 3606 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 3615 of file z3++.h.
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 probe::operator()().
◆ operator Z3_probe()
| operator Z3_probe |
( |
| ) |
const |
|
inline |
◆ operator()()
| double operator() |
( |
goal const & |
g | ) |
const |
|
inline |
Definition at line 3616 of file z3++.h.
double apply(goal const &g) const
◆ operator=()
Definition at line 3608 of file z3++.h.
3608 {
3611 object::operator=(s);
3612 m_probe = s.m_probe;
3613 return *this;
3614 }
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 3668 of file z3++.h.
3668 {
3669 Z3_probe r =
Z3_probe_not(p.ctx(), p); p.check_error();
return probe(p.ctx(), r);
3670 }
probe(context &c, char const *name)
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 3662 of file z3++.h.
3662 {
3664 }
friend void check_context(object const &a, object const &b)
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.
◆ operator< [1/3]
Definition at line 3651 of file z3++.h.
3651{
return probe(p2.ctx(), p1) < p2; }
◆ operator< [2/3]
Definition at line 3650 of file z3++.h.
3650{
return p1 <
probe(p1.ctx(), p2); }
◆ operator< [3/3]
Definition at line 3647 of file z3++.h.
3647 {
3649 }
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 3641 of file z3++.h.
3641{
return probe(p2.ctx(), p1) <= p2; }
◆ operator<= [2/3]
Definition at line 3640 of file z3++.h.
3640{
return p1 <=
probe(p1.ctx(), p2); }
◆ operator<= [3/3]
Definition at line 3637 of file z3++.h.
3637 {
3639 }
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 3661 of file z3++.h.
3661{
return probe(p2.ctx(), p1) == p2; }
◆ operator== [2/3]
Definition at line 3660 of file z3++.h.
3660{
return p1 ==
probe(p1.ctx(), p2); }
◆ operator== [3/3]
Definition at line 3657 of file z3++.h.
3657 {
3659 }
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 3656 of file z3++.h.
3656{
return probe(p2.ctx(), p1) > p2; }
◆ operator> [2/3]
Definition at line 3655 of file z3++.h.
3655{
return p1 >
probe(p1.ctx(), p2); }
◆ operator> [3/3]
Definition at line 3652 of file z3++.h.
3652 {
3654 }
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 3646 of file z3++.h.
3646{
return probe(p2.ctx(), p1) >= p2; }
◆ operator>= [2/3]
Definition at line 3645 of file z3++.h.
3645{
return p1 >=
probe(p1.ctx(), p2); }
◆ operator>= [3/3]
Definition at line 3642 of file z3++.h.
3642 {
3644 }
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 3665 of file z3++.h.
3665 {
3667 }
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.