/src/main/java/net/finmath/randomnumbers/AcceptanceRejectionRandomNumberGenerator.java
private RandomNumberGenerator uniformRandomNumberGenerator;
private final RandomNumberGenerator uniformRandomNumberGenerator;
package net.finmath.randomnumbers; import java.util.function.DoubleUnaryOperator; import org.apache.commons.lang3.Validate; public class AcceptanceRejectionRandomNumberGenerator implements RandomNumberGenerator { private static final long serialVersionUID = -9060003224133337426L; <extra_id_0> private final DoubleUnaryOperator targetDensity; private final DoubleUnaryOperator referenceDensity; private final DoubleUnaryOperator referenceDistributionICDF; private final double acceptanceLevel; public AcceptanceRejectionRandomNumberGenerator(final RandomNumberGenerator uniformRandomNumberGenerator, final DoubleUnaryOperator targetDensity,