public class ProcessEulerScheme extends AbstractProcess
numberOfComponents
here. The default for numberOfFactors
is 1.The interface definition contains more details.
Modifier and Type | Class and Description |
---|---|
static class |
ProcessEulerScheme.Scheme |
Constructor and Description |
---|
ProcessEulerScheme(IndependentIncrementsInterface stochasticDriver)
Create an Euler discretization scheme.
|
ProcessEulerScheme(IndependentIncrementsInterface stochasticDriver,
ProcessEulerScheme.Scheme scheme)
Create an Euler discretization scheme.
|
Modifier and Type | Method and Description |
---|---|
ProcessEulerScheme |
clone()
Create and return a clone of this process.
|
BrownianMotionInterface |
getBrownianMotion() |
AbstractProcessInterface |
getCloneWithModifiedData(Map<String,Object> dataModified)
Returns a clone of this model where the specified properties have been modified.
|
Object |
getCloneWithModifiedSeed(int seed) |
RandomVariableInterface |
getMonteCarloWeights(int timeIndex)
This method returns the weights of a weighted Monte Carlo method (the probability density).
|
int |
getNumberOfFactors() |
int |
getNumberOfPaths() |
RandomVariableInterface |
getProcessValue(int timeIndex,
int componentIndex)
This method returns the realization of the process at a certain time index.
|
ProcessEulerScheme.Scheme |
getScheme() |
IndependentIncrementsInterface |
getStochasticDriver() |
String |
toString() |
applyStateSpaceTransform, getDrift, getFactorLoading, getInitialState, getNumberOfComponents, getTime, getTimeDiscretization, getTimeIndex, setModel
public ProcessEulerScheme(IndependentIncrementsInterface stochasticDriver, ProcessEulerScheme.Scheme scheme)
stochasticDriver
- The stochastic driver of the process (e.g. a Brownian motion).scheme
- The scheme to use. See ProcessEulerScheme.Scheme
.public ProcessEulerScheme(IndependentIncrementsInterface stochasticDriver)
stochasticDriver
- The stochastic driver of the process (e.g. a Brownian motion).public RandomVariableInterface getProcessValue(int timeIndex, int componentIndex)
timeIndex
- Time index at which the process should be observedcomponentIndex
- Component index of the processpublic RandomVariableInterface getMonteCarloWeights(int timeIndex)
timeIndex
- Time index at which the process should be observedpublic int getNumberOfPaths()
public int getNumberOfFactors()
public IndependentIncrementsInterface getStochasticDriver()
public BrownianMotionInterface getBrownianMotion()
public ProcessEulerScheme.Scheme getScheme()
public ProcessEulerScheme clone()
AbstractProcessInterface
clone
in interface AbstractProcessInterface
clone
in interface ProcessInterface
clone
in class AbstractProcess
public AbstractProcessInterface getCloneWithModifiedData(Map<String,Object> dataModified)
AbstractProcessInterface
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 AbstractProcess
Copyright © 2017. All rights reserved.