1. A method, comprising: partitioning a domain into a plurality of sets; assigning a probability to each of the plurality of sets; and generating samples from the plurality of sets, the samples being generated according to the probability of a corresponding set.