RejectionSampler

Companion
class
class Object
trait Matchable
class Any

Type members

Classlikes

case
class State(test: Long, pass: Long)

Monte Carlo estimation of the success rate of the predicate.

Monte Carlo estimation of the success rate of the predicate.

Value members

Concrete methods

def fail(state: State): State
def noSuccess(state: State): Boolean
def success(state: State): State