Documentation of 'net.finmath.marketdata.model.AnalyticModelInterface' Java class
AnalyticModelInterface
net.finmath.marketdata.model

Interface AnalyticModelInterface

  • All Superinterfaces:
    java.lang.Cloneable, ModelInterface
    All Known Implementing Classes:
    AnalyticModel


    public interface AnalyticModelInterface
    extends ModelInterface, java.lang.Cloneable
    A collection of objects representing analytic valuations, i.e., curves and volatility surfaces.
    • Method Detail

      • getCurve

        CurveInterface getCurve(java.lang.String name)
        Get a curve by a given curve name.
        Parameters:
        name - The name of the curve.
        Returns:
        The curve with the corresponding name, given that it is part of this model, otherwise null is return.
      • addCurve

        AnalyticModelInterface addCurve(java.lang.String name,
                                        CurveInterface curve)
        Add a reference to a given curve under a given name to this model. It is not necessary that the name given agrees with curve.getName(). This method comes in handy, if you like to create curve mappings.
        Parameters:
        name - Name under which the curve is known in the model.
        curve - The curve.
        Returns:
        A clone of this model, containing the curves of this model which are not known under the given name and the new curve under the given name.
      • addCurves

        AnalyticModelInterface addCurves(CurveInterface... curves)
        Create a new analytic model consisting of a clone of this one together with the given curves added.
        Parameters:
        curves - The set of curves to add.
        Returns:
        A new analytic model.
      • addCurves

        AnalyticModelInterface addCurves(java.util.Set<CurveInterface> curves)
        Create a new analytic model consisting of a clone of this one together with the given curves added.
        Parameters:
        curves - The list of curves to add.
        Returns:
        A new analytic model.
      • setCurve

        @Deprecated
        void setCurve(CurveInterface curve)
        Deprecated. 
      • addVolatilitySurfaces

        AnalyticModelInterface addVolatilitySurfaces(java.util.Set<AbstractVolatilitySurface> volatilitySurfaces)
        Create a new analytic model consisting of a clone of this one together with the given volatility surfaces added.
        Parameters:
        volatilitySurfaces - The list of volatility surfaces to add.
        Returns:
        A new analytic model.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.