public interface AssetModelMonteCarloSimulationInterface extends MonteCarloSimulationInterface
| Modifier and Type | Method and Description |
|---|---|
RandomVariableInterface |
getAssetValue(double time,
int assetIndex)
Returns the random variable representing the asset's value at a given time for a given asset.
|
RandomVariableInterface |
getAssetValue(int timeIndex,
int assetIndex)
Returns the random variable representing the asset's value at a given time for a given asset.
|
AssetModelMonteCarloSimulationInterface |
getCloneWithModifiedData(Map<String,Object> dataModified)
Create a clone of this simulation modifying some of its properties (if any).
|
AssetModelMonteCarloSimulationInterface |
getCloneWithModifiedSeed(int seed)
Create a clone of the object implementing
AssetModelMonteCarloSimulationInterface
using a different Monte-Carlo seed. |
int |
getNumberOfAssets()
Returns the number of asset price processes.
|
RandomVariableInterface |
getNumeraire(double time)
Returns the numeraire associated with the valuation measure used by this model.
|
RandomVariableInterface |
getNumeraire(int timeIndex)
Returns the numeraire associated with the valuation measure used by this model.
|
getMonteCarloWeights, getMonteCarloWeights, getNumberOfPaths, getRandomVariableForConstant, getTime, getTimeDiscretization, getTimeIndexint getNumberOfAssets()
RandomVariableInterface getAssetValue(int timeIndex, int assetIndex) throws CalculationException
timeIndex - Index of simulation timeassetIndex - Index of the asset (0 for a single asset model)CalculationException - Thrown if the valuation fails, specific cause may be available via the cause() method.RandomVariableInterface getAssetValue(double time, int assetIndex) throws CalculationException
time - Simulation timeassetIndex - Index of the asset (0 for a single asset model)CalculationException - Thrown if the valuation fails, specific cause may be available via the cause() method.RandomVariableInterface getNumeraire(int timeIndex) throws CalculationException
timeIndex - The time index (associated with this models time discretization).CalculationException - Thrown if calculation of numeraire fails.RandomVariableInterface getNumeraire(double time) throws CalculationException
time - The time for which the numeraire is requested.CalculationException - Thrown if calculation of numeraire fails.AssetModelMonteCarloSimulationInterface getCloneWithModifiedData(Map<String,Object> dataModified) throws CalculationException
getCloneWithModifiedData in interface MonteCarloSimulationInterfacedataModified - The data which should be changed in the new modelCalculationException - Thrown if the valuation fails, specific cause may be available via the cause() method.AssetModelMonteCarloSimulationInterface getCloneWithModifiedSeed(int seed)
AssetModelMonteCarloSimulationInterface
using a different Monte-Carlo seed.seed - The seed of the underlying random number generator.Copyright © 2015. All rights reserved.