public class Performance extends AbstractAnalyticProduct implements AnalyticProduct
SwapLeg relative to a SwapAnnuity.
Note: In the strict sense, the performance is an index an not a product (e.g. it does not have a currency unit).
With respect to the implementation we do not make a difference here and implement the AbstractAnalyticProduct interface.| Constructor and Description |
|---|
Performance(AbstractAnalyticProduct productNumerator,
AbstractAnalyticProduct productDenominator)
Creates a Performance product.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getValue(double evaluationTime,
AnalyticModel model)
Return the valuation of the product using the given model.
|
String |
toString() |
getValue, getValuepublic Performance(AbstractAnalyticProduct productNumerator, AbstractAnalyticProduct productDenominator)
productNumerator - A product implementing AbstractAnalyticProduct for the numerator.productDenominator - A product implementing AbstractAnalyticProduct for the denominator.public double getValue(double evaluationTime,
AnalyticModel model)
AnalyticProductAnalyticModel.getValue in interface AnalyticProductevaluationTime - The evaluation time as double. Cash flows prior and including this time are not considered.model - The model under which the product is valued.Copyright © 2019. All rights reserved.