Package net.finmath.montecarlo.process
Interface MonteCarloProcess
-
- All Superinterfaces:
Process
- All Known Implementing Classes:
EulerSchemeFromProcessModel
,MonteCarloProcessFromProcessModel
public interface MonteCarloProcess extends Process
The interface for a process (numerical scheme) of a stochastic process X where X = f(Y) and Y is an Itô process
\[ dY_{j} = \mu_{j} dt + \lambda_{1,j} dW_{1} + \ldots + \lambda_{m,j} dW_{m} \] The parameters are provided by a model implementingProcessModel
:- The value of Y(0) is provided by the method
ProcessModel.getInitialState()
. - The value of μ is provided by the method
ProcessModel.getDrift(int, net.finmath.stochastic.RandomVariable[], net.finmath.stochastic.RandomVariable[])
. - The value λj is provided by the method
ProcessModel.getFactorLoading(int, int, net.finmath.stochastic.RandomVariable[])
. - The function f is provided by the method
ProcessModel.applyStateSpaceTransform(int, net.finmath.stochastic.RandomVariable)
.
- Version:
- 1.0
- Author:
- Christian Fries
- See Also:
The definition of the model.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description MonteCarloProcess
clone()
Create and return a clone of this process.BrownianMotion
getBrownianMotion()
Deprecated.Please use getStochasticDriver() instead.MonteCarloProcess
getCloneWithModifiedData(Map<String,Object> dataModified)
Returns a clone of this model where the specified properties have been modified.int
getNumberOfFactors()
int
getNumberOfPaths()
IndependentIncrements
getStochasticDriver()
void
setModel(ProcessModel model)
Sets the model to be used.-
Methods inherited from interface net.finmath.montecarlo.process.Process
getMonteCarloWeights, getNumberOfComponents, getProcessValue, getTime, getTimeDiscretization, getTimeIndex
-
-
-
-
Method Detail
-
getNumberOfPaths
int getNumberOfPaths()
- Returns:
- Returns the numberOfPaths.
-
getNumberOfFactors
int getNumberOfFactors()
- Returns:
- Returns the numberOfFactors.
-
getStochasticDriver
IndependentIncrements getStochasticDriver()
- Returns:
- Returns the stochastic driver used to generate this process
-
getBrownianMotion
@Deprecated BrownianMotion getBrownianMotion()
Deprecated.Please use getStochasticDriver() instead.- Returns:
- Returns the Brownian motion used to generate this process
-
setModel
void setModel(ProcessModel model)
Sets the model to be used. Should be called only once (at construction).- Parameters:
model
- The model to be used.
-
getCloneWithModifiedData
MonteCarloProcess getCloneWithModifiedData(Map<String,Object> dataModified)
Returns a clone of this model where the specified properties have been modified. Note that there is no guarantee that a model reacts on a specification of a properties in the parameter mapdataModified
. If data is provided which is ignored by the model no exception may be thrown.- Parameters:
dataModified
- Key-value-map of parameters to modify.- Returns:
- A clone of this model (or this model if no parameter was modified).
-
clone
MonteCarloProcess clone()
Create and return a clone of this process. The clone is not tied to any model, but has the same process specification, that is, if the model is the same, it would generate the same paths.
-
-