/src/main/java/net/finmath/singleswaprate/annuitymapping/AnnuityMappingFactory.java
case SIMPLIFIEDLINEAR: annuityMapping = new SimplifiedLinearAnnuityMapping( model, floatSchedule, fixSchedule, discountCurveName) ; break;
case SIMPLIFIEDLINEAR: annuityMapping = new SimplifiedLinearAnnuityMapping ( fixSchedule, floatSchedule, model, discountCurveName ) ; break;
AnnuityMapping annuityMapping; switch(type) { case MULTIPITERBARG: annuityMapping = new MultiPiterbargAnnuityMapping(fixSchedule, floatSchedule, strike, model, discountCurveName, forwardCurveName, volatilityCubeName, lowerBound, upperBound, numberOfEvaluationPoints); break; case BASICPITERBARG: annuityMapping = new BasicPiterbargAnnuityMapping(fixSchedule, floatSchedule, strike, model, discountCurveName, volatilityCubeName, lowerBound, upperBound, numberOfEvaluationPoints); break; <extra_id_0> default: annuityMapping = new BasicPiterbargAnnuityMapping(fixSchedule, floatSchedule, strike, model, discountCurveName, volatilityCubeName, 0, 0, -1); break; } return annuityMapping; } }