Interface HybridAssetMonteCarloSimulation

    • Method Detail

      • getNumeraire

        RandomVariable getNumeraire​(double time)
                             throws CalculationException
        Return the (default) numeraire at a given time.
        Parameters:
        time - The time for which the numeraire is returned.
        Returns:
        The numeraire at a given time.
        Throws:
        CalculationException - Thrown if the valuation fails, specific cause may be available via the cause() method.
      • getNumeraire

        RandomVariable getNumeraire​(String account,
                                    double time)
                             throws CalculationException
        Return the numeraire associated with a given (collateral or funding) account at a given time.
        Parameters:
        account - The account associated with this numeraire.
        time - The time for which the numeraire is returned.
        Returns:
        The numeraire at a given time.
        Throws:
        CalculationException - Thrown if the valuation fails, specific cause may be available via the cause() method.
      • getValue

        RandomVariable getValue​(RiskFactorID riskFactorIdentifyer,
                                double time)
                         throws CalculationException
        Return the random variable of a risk factor with a given name at a given observation time index.
        Parameters:
        riskFactorIdentifyer - The identifier of the risk factor.
        time - The time at which the risk factor is observed.
        Returns:
        Random variable representing the corresponding risk factor.
        Throws:
        CalculationException - Thrown if the valuation fails, specific cause may be available via the cause() method.