-
- All Superinterfaces:
Product
- All Known Subinterfaces:
AnalyticVolatilityCubeProduct
- All Known Implementing Classes:
AbstractAnalyticProduct,AbstractAnalyticVolatilityCubeProduct,AbstractSingleSwapRateProduct,AnnuityDummyProduct,Bond,Cap,CapShiftedVol,Cashflow,CashSettledPayerSwaption,CashSettledReceiverSwaption,ConstantMaturitySwap,Deposit,Forward,ForwardRateAgreement,MarketForwardRateAgreement,NormalizingDummyProduct,Performance,Portfolio,Swap,SwapAnnuity,SwapLeg,UnsupportedProduct
public interface AnalyticProduct extends Product
The interface which has to be implemented by a product which may be evaluated using anAnalyticModelFromCurvesAndVols.- Version:
- 1.0
- Author:
- Christian Fries
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetValue(double evaluationTime, AnalyticModel model)Return the valuation of the product using the given model.
-
-
-
Method Detail
-
getValue
double getValue(double evaluationTime, AnalyticModel model)Return the valuation of the product using the given model. The model has to implement the modes ofAnalyticModel.- Parameters:
evaluationTime- The evaluation time as double. Cash flows prior and including this time are not considered.model- The model under which the product is valued.- Returns:
- The value of the product using the given model.
-
-