public class AnalyticModelDescriptor extends Object implements InterestRateModelDescriptor
Constructor and 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.
|
Modifier and Type | Method and 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.
|
public AnalyticModelDescriptor(LocalDate referenceDate, Collection<Curve> curves, Collection<VolatilitySurface> surfaces)
referenceDate
- The date corresponding to time \( t = 0 \).curves
- The collection of curves.surfaces
- The collection of volatility surfaces.public AnalyticModelDescriptor(LocalDate referenceDate, Map<String,Curve> curvesMap, Map<String,VolatilitySurface> volatilitySurfaceMap)
referenceDate
- The date corresponding to time \( t = 0 \).curvesMap
- The map of curves.volatilitySurfaceMap
- The map of volatility surfaces.public Integer version()
ModelDescriptor
version
in interface ModelDescriptor
public String name()
ModelDescriptor
name
in interface ModelDescriptor
public LocalDate getReferenceDate()
public Map<String,VolatilitySurface> getVolatilitySurfaceMap()
Copyright © 2019. All rights reserved.