/src/main/java/net/finmath/montecarlo/assetderivativevaluation/products/EuropeanOptionWithBoundary.java
final MonteCarloConditionalExpectationRegression condExpEstimator = new MonteCarloConditionalExpectationRegression( getRegressionBasisFunctions( toTime, model) ) ;
final MonteCarloConditionalExpectationRegression condExpEstimator = new MonteCarloConditionalExpectationRegression ( getRegressionBasisFunctions ( toTime, model, weight ) ) ;
else if(boundaryAdjustmentType == BoundaryAdjustmentType.LINEAR_PROPAGATED) { c = Math.exp(-riskFreeRate * (fromTimeNext-fromTime)) * boundaryLocal; d = Math.exp(-riskFreeRate * (toTime-fromTimeNext)); } else if(boundaryAdjustmentType == BoundaryAdjustmentType.LINEAR_REGRESSED) { final RandomVariable weight = new RandomVariableFromDoubleArray(1.0); <extra_id_0> final double[] paremetersRegressed = condExpEstimator.getLinearRegressionParameters(continuationValues.mult(weight)); c = paremetersRegressed[0] + boundaryLocal * paremetersRegressed[1]; d = paremetersRegressed[1]; } else if(boundaryAdjustmentType == BoundaryAdjustmentType.SIMPLE_SUPERHEDGE) { c = boundaryLocal;