java.lang.Object
net.finmath.modelling.descriptor.AnalyticModelDescriptor
- All Implemented Interfaces:
InterestRateModelDescriptor
,ModelDescriptor
public class AnalyticModelDescriptor extends Object implements InterestRateModelDescriptor
- Author:
- Christian Fries, Roland Bachl
-
Constructor Summary
Constructors Constructor Description AnalyticModelDescriptor(LocalDate referenceDate, Collection<Curve> curves, Collection<VolatilitySurface> surfaces)
Construct an AnalyticModelDescriptor mapping the collections of curves and volatility surfaces provided.AnalyticModelDescriptor(LocalDate referenceDate, Map<String,Curve> curvesMap, Map<String,VolatilitySurface> volatilitySurfaceMap)
Construct an AnalyticModelDescriptor holding copies of the maps provided. -
Method Summary
Modifier and Type Method Description Map<String,Curve>
getCurvesMap()
LocalDate
getReferenceDate()
Map<String,VolatilitySurface>
getVolatilitySurfaceMap()
String
name()
Return the name of the model represented by this descriptor.Integer
version()
Return the version of the model description.
-
Constructor Details
-
AnalyticModelDescriptor
public AnalyticModelDescriptor(LocalDate referenceDate, Collection<Curve> curves, Collection<VolatilitySurface> surfaces)Construct an AnalyticModelDescriptor mapping the collections of curves and volatility surfaces provided.- Parameters:
referenceDate
- The date corresponding to time \( t = 0 \).curves
- The collection of curves.surfaces
- The collection of volatility surfaces.
-
AnalyticModelDescriptor
public AnalyticModelDescriptor(LocalDate referenceDate, Map<String,Curve> curvesMap, Map<String,VolatilitySurface> volatilitySurfaceMap)Construct an AnalyticModelDescriptor holding copies of the maps provided.- Parameters:
referenceDate
- The date corresponding to time \( t = 0 \).curvesMap
- The map of curves.volatilitySurfaceMap
- The map of volatility surfaces.
-
-
Method Details
-
version
Description copied from interface:ModelDescriptor
Return the version of the model description.- Specified by:
version
in interfaceModelDescriptor
- Returns:
- Version number.
-
name
Description copied from interface:ModelDescriptor
Return the name of the model represented by this descriptor.- Specified by:
name
in interfaceModelDescriptor
- Returns:
- Name of the model.
-
getReferenceDate
-
getCurvesMap
-
getVolatilitySurfaceMap
-