public interface MonteCarloSimulationInterface
Modifier and Type | Method and Description |
---|---|
MonteCarloSimulationInterface |
getCloneWithModifiedData(Map<String,Object> dataModified)
Create a clone of this simulation modifying some of its properties (if any).
|
RandomVariableInterface |
getMonteCarloWeights(double time)
This method returns the weights of a weighted Monte Carlo method (the probability density).
|
RandomVariableInterface |
getMonteCarloWeights(int timeIndex)
This method returns the weights of a weighted Monte Carlo method (the probability density).
|
int |
getNumberOfPaths()
Returns the numberOfPaths.
|
RandomVariableInterface |
getRandomVariableForConstant(double value)
Returns a random variable which is initialized to a constant,
but has exactly the same number of paths or discretization points as the ones used by this
MonteCarloSimulationInterface . |
double |
getTime(int timeIndex)
Returns the time for a given time index.
|
TimeDiscretizationInterface |
getTimeDiscretization()
Returns the timeDiscretization.
|
int |
getTimeIndex(double time)
Returns the time index for a given time.
|
int getNumberOfPaths()
TimeDiscretizationInterface getTimeDiscretization()
double getTime(int timeIndex)
timeIndex
- Time indexint getTimeIndex(double time)
time
- The time.RandomVariableInterface getRandomVariableForConstant(double value)
MonteCarloSimulationInterface
.value
- The constant value to be used for initialized the random variable.RandomVariableInterface getMonteCarloWeights(int timeIndex) throws CalculationException
timeIndex
- Time index at which the process should be observedCalculationException
- Thrown if the valuation fails, specific cause may be available via the cause()
method.RandomVariableInterface getMonteCarloWeights(double time) throws CalculationException
time
- Time at which the process should be observedCalculationException
- Thrown if the valuation fails, specific cause may be available via the cause()
method.MonteCarloSimulationInterface getCloneWithModifiedData(Map<String,Object> dataModified) throws CalculationException
dataModified
- The data which should be changed in the new modelCalculationException
- Thrown if the valuation fails, specific cause may be available via the cause()
method.Copyright © 2015. All rights reserved.