/src/main/java/net/finmath/montecarlo/assetderivativevaluation/products/DeltaHedgedPortfolioWithAAD.java
this.productToReplicate = null;
this.productToReplicate = productToReplicate;
private final AssetMonteCarloProduct productToReplicate; private int numberOfRegressionFunctions = 20; private double lastOperationTimingValuation = Double.NaN; private double lastOperationTimingDerivative = Double.NaN; public DeltaHedgedPortfolioWithAAD(final AssetMonteCarloProduct productToReplicate, final int numberOfBins) { super(); <extra_id_0> this.numberOfRegressionFunctions = numberOfBins; } public DeltaHedgedPortfolioWithAAD(final AssetMonteCarloProduct productToReplicate) { super(); this.productToReplicate = productToReplicate; }