public class EulerSchemeFromProcessModel extends MonteCarloProcessFromProcessModel
numberOfComponents
here. The default for numberOfFactors
is 1.The interface definition contains more details.
Modifier and Type | Class and Description |
---|---|
static class |
EulerSchemeFromProcessModel.Scheme |
Constructor and Description |
---|
EulerSchemeFromProcessModel(IndependentIncrements stochasticDriver)
Create an Euler discretization scheme.
|
EulerSchemeFromProcessModel(IndependentIncrements stochasticDriver,
EulerSchemeFromProcessModel.Scheme scheme)
Create an Euler discretization scheme.
|
Modifier and Type | Method and Description |
---|---|
EulerSchemeFromProcessModel |
clone()
Create and return a clone of this process.
|
BrownianMotion |
getBrownianMotion() |
MonteCarloProcess |
getCloneWithModifiedData(Map<String,Object> dataModified)
Returns a clone of this model where the specified properties have been modified.
|
Object |
getCloneWithModifiedSeed(int seed) |
RandomVariable |
getMonteCarloWeights(int timeIndex)
This method returns the weights of a weighted Monte Carlo method (the probability density).
|
int |
getNumberOfFactors() |
int |
getNumberOfPaths() |
RandomVariable |
getProcessValue(int timeIndex,
int componentIndex)
This method returns the realization of the process at a certain time index.
|
EulerSchemeFromProcessModel.Scheme |
getScheme() |
IndependentIncrements |
getStochasticDriver() |
String |
toString() |
applyStateSpaceTransform, applyStateSpaceTransformInverse, getDrift, getFactorLoading, getInitialState, getNumberOfComponents, getTime, getTimeDiscretization, getTimeIndex, setModel
public EulerSchemeFromProcessModel(IndependentIncrements stochasticDriver, EulerSchemeFromProcessModel.Scheme scheme)
stochasticDriver
- The stochastic driver of the process (e.g. a Brownian motion).scheme
- The scheme to use. See EulerSchemeFromProcessModel.Scheme
.public EulerSchemeFromProcessModel(IndependentIncrements stochasticDriver)
stochasticDriver
- The stochastic driver of the process (e.g. a Brownian motion).public RandomVariable getProcessValue(int timeIndex, int componentIndex)
timeIndex
- Time index at which the process should be observedcomponentIndex
- Component index of the processpublic RandomVariable getMonteCarloWeights(int timeIndex)
timeIndex
- Time index at which the process should be observedpublic int getNumberOfPaths()
public int getNumberOfFactors()
public IndependentIncrements getStochasticDriver()
public BrownianMotion getBrownianMotion()
public EulerSchemeFromProcessModel.Scheme getScheme()
public EulerSchemeFromProcessModel clone()
MonteCarloProcess
clone
in interface MonteCarloProcess
clone
in interface Process
clone
in class MonteCarloProcessFromProcessModel
public MonteCarloProcess getCloneWithModifiedData(Map<String,Object> dataModified)
MonteCarloProcess
dataModified
. If data is provided which is ignored by the model
no exception may be thrown.dataModified
- Key-value-map of parameters to modify.public Object getCloneWithModifiedSeed(int seed)
getCloneWithModifiedSeed
in class MonteCarloProcessFromProcessModel
Copyright © 2019. All rights reserved.