public abstract class AbstractAssetMonteCarloProduct extends AbstractMonteCarloProduct
| Constructor and Description |
|---|
AbstractAssetMonteCarloProduct() |
| Modifier and Type | Method and Description |
|---|---|
abstract RandomVariableInterface |
getValue(double evaluationTime,
AssetModelMonteCarloSimulationInterface model) |
RandomVariableInterface |
getValue(double evaluationTime,
MonteCarloSimulationInterface 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, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, toStringpublic abstract RandomVariableInterface getValue(double evaluationTime, AssetModelMonteCarloSimulationInterface model) throws CalculationException
CalculationExceptionpublic RandomVariableInterface getValue(double evaluationTime, MonteCarloSimulationInterface model) throws CalculationException
AbstractMonteCarloProductgetValue 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 © 2017. All rights reserved.