Z3 |

Probe.java
Go to the documentation of this file.
1
18 package com.microsoft.z3;
19
28 public class Probe extends Z3Object {
36 public double apply(Goal g)
37 {
38 getContext().checkContextMatch(g);
39 return Native.probeApply(getContext().nCtx(), getNativeObject(),
40 g.getNativeObject());
41 }
42
43 Probe(Context ctx, long obj)
44 {
45 super(ctx, obj);
46 }
47
48 Probe(Context ctx, String name) {
49 super(ctx, Native.mkProbe(ctx.nCtx(), name));
50 }
51
52 @Override
53 void incRef() {
54 Native.probeIncRef(getContext().nCtx(), getNativeObject());
55 }
56
57 @Override
58 void addToReferenceQueue() {
59 getContext().getProbeDRQ().storeReference(getContext(), this);
60 }
61}
com.microsoft.z3.Context
Definition: Context.java:36
com.microsoft.z3.Context.getProbeDRQ
IDecRefQueue< Probe > getProbeDRQ()
Definition: Context.java:4120
com.microsoft.z3.Goal
Definition: Goal.java:26
com.microsoft.z3.IDecRefQueue.storeReference
void storeReference(Context ctx, T obj)
Definition: IDecRefQueue.java:56
com.microsoft.z3.Probe
Definition: Probe.java:28
com.microsoft.z3.Probe.apply
double apply(Goal g)
Definition: Probe.java:36
com.microsoft.z3.Z3Object
Definition: Z3Object.java:24
z3py.String
def String(name, ctx=None)
Definition: z3py.py:10693