public abstract class AbstractAssetMonteCarloProduct extends AbstractMonteCarloProduct implements AssetMonteCarloProduct
| Constructor and Description |
|---|
AbstractAssetMonteCarloProduct() |
| Modifier and Type | Method and Description |
|---|---|
abstract RandomVariable |
getValue(double evaluationTime,
AssetModelMonteCarloSimulationModel model) |
RandomVariable |
getValue(double evaluationTime,
MonteCarloSimulationModel model)
This method returns the value random variable of the product within the specified model, evaluated at a given evalutationTime.
|
getCurrency, getValue, getValue, getValues, getValues, getValues, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, toStringpublic abstract RandomVariable getValue(double evaluationTime, AssetModelMonteCarloSimulationModel model) throws CalculationException
getValue in interface AssetMonteCarloProductCalculationExceptionpublic RandomVariable getValue(double evaluationTime, MonteCarloSimulationModel model) throws CalculationException
MonteCarloProductgetValue in interface MonteCarloProductgetValue in class AbstractMonteCarloProductevaluationTime - The time on which this products value should be observed.model - The model used to price the product.CalculationException - Thrown if the valuation fails, specific cause may be available via the cause() method.Copyright © 2019. All rights reserved.