|
finMath lib documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AbstractProcessInterface
The interface for a process (numerical scheme) of a stochastic process X where
X = f(Y) and
\[
dY_{j} = \mu_{j} dt + \lambda_{1,j} dW_{1} + \ldots + \lambda_{m,j} dW_{m}
\]
The parameters are provided by a model implementing AbstractModelInterface
:
AbstractModelInterface.getInitialState()
.
AbstractModelInterface.getDrift(int, net.finmath.stochastic.RandomVariableInterface[], net.finmath.stochastic.RandomVariableInterface[])
.
AbstractModelInterface.getFactorLoading(int, int, net.finmath.stochastic.RandomVariableInterface[])
.
AbstractModelInterface.applyStateSpaceTransform(int, net.finmath.stochastic.RandomVariableInterface)
.
The definition of the model.
Method Summary | |
---|---|
AbstractProcessInterface |
clone()
Create and return a clone of this process. |
BrownianMotionInterface |
getBrownianMotion()
|
RandomVariableInterface |
getMonteCarloWeights(int timeIndex)
This method returns the weights of a weighted Monte Carlo method (the probability density). |
int |
getNumberOfComponents()
|
int |
getNumberOfFactors()
|
int |
getNumberOfPaths()
|
RandomVariableInterface |
getProcessValue(int timeIndex,
int component)
This method returns the realization of a component of the process at a certain time index. |
double |
getTime(int timeIndex)
|
TimeDiscretizationInterface |
getTimeDiscretization()
|
int |
getTimeIndex(double time)
Returns the time index for a given simulation time. |
Method Detail |
---|
RandomVariableInterface getProcessValue(int timeIndex, int component) throws CalculationException
timeIndex
- Time index at which the process should be observedcomponent
- Component index of the process
RandomVariable
)
CalculationException
- Thrown if the valuation fails, specific cause may be available via the cause()
method.RandomVariableInterface getMonteCarloWeights(int timeIndex) throws CalculationException
timeIndex
- Time index at which the process should be observed
CalculationException
- Thrown if the valuation fails, specific cause may be available via the cause()
method.int getNumberOfComponents()
int getNumberOfPaths()
int getNumberOfFactors()
TimeDiscretizationInterface getTimeDiscretization()
double getTime(int timeIndex)
timeIndex
- Time index.
int getTimeIndex(double time)
time
- The given simulation time.
BrownianMotionInterface getBrownianMotion()
AbstractProcessInterface clone()
|
Copyright © 2014 Christian P. Fries. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |