Create an one-time importance sampler with the given target query elements over the given universe using the given number of samples.
Create an anytime importance sampler with the given target query elements over the given universe.
Use IS to compute the probability that the given element has the given value.
Use IS to compute the probability that the given element satisfies the given predicate.