Module net.finmath.lib
Class AnalyticModelFactory.DescribedAnalyticModel
java.lang.Object
net.finmath.marketdata.model.AnalyticModelFromCurvesAndVols
net.finmath.modelling.modelfactory.AnalyticModelFactory.DescribedAnalyticModel
- All Implemented Interfaces:
Serializable,Cloneable,AnalyticModel,DescribedModel<AnalyticModelDescriptor>,Model
- Enclosing class:
- AnalyticModelFactory
public static class AnalyticModelFactory.DescribedAnalyticModel
extends AnalyticModelFromCurvesAndVols
implements DescribedModel<AnalyticModelDescriptor>
Class extending
AnalyticModelFromCurvesAndVols with the functionality of a described model.- Author:
- Christian Fries, Roland Bachl
- See Also:
- Serialized Form
-
Constructor Summary
ConstructorsConstructorDescriptionDescribedAnalyticModel(LocalDate referenceDate, Map<String,Curve> curvesMap, Map<String,VolatilitySurface> volatilitySurfaceMap) -
Method Summary
Modifier and TypeMethodDescriptionReturn a model descriptor representing this model.DescribedProduct<? extends ProductDescriptor>getProductFromDescriptor(ProductDescriptor productDescriptor)Construct a product from a product descriptor, which may be valued by this model.Methods inherited from class net.finmath.marketdata.model.AnalyticModelFromCurvesAndVols
addCurve, addCurve, addCurves, addCurves, addVolatilitySurface, addVolatilitySurfaces, addVolatilitySurfaces, clone, getCloneForParameter, getCurve, getCurves, getDiscountCurve, getForwardCurve, getReferenceDate, getVolatilitySurface, getVolatilitySurfaces, toString
-
Constructor Details
-
DescribedAnalyticModel
-
-
Method Details
-
getDescriptor
Description copied from interface:DescribedModelReturn a model descriptor representing this model.- Specified by:
getDescriptorin interfaceDescribedModel<AnalyticModelDescriptor>- Returns:
- The model descriptor of this model.
-
getProductFromDescriptor
public DescribedProduct<? extends ProductDescriptor> getProductFromDescriptor(ProductDescriptor productDescriptor)Description copied from interface:DescribedModelConstruct a product from a product descriptor, which may be valued by this model.- Specified by:
getProductFromDescriptorin interfaceDescribedModel<AnalyticModelDescriptor>- Parameters:
productDescriptor- Given product descriptor.- Returns:
- An instance of a product implementation.
-