public abstract class AbstractProcessModel extends Object implements ProcessModel
ProcessModel
.The interface definition contains more details.
Constructor and Description |
---|
AbstractProcessModel() |
Modifier and Type | Method and Description |
---|---|
RandomVariable[] |
getInitialValue()
Returns the initial value of the model.
|
RandomVariable |
getMonteCarloWeights(int timeIndex)
Deprecated.
|
int |
getNumberOfFactors()
Returns the number of factors m, i.e., the number of independent Brownian drivers.
|
MonteCarloProcess |
getProcess()
Deprecated.
|
RandomVariable |
getProcessValue(int timeIndex,
int componentIndex)
Deprecated.
|
LocalDateTime |
getReferenceDate()
Returns the model's date corresponding to the time discretization's \( t = 0 \).
|
double |
getTime(int timeIndex)
Return the simulation time for a given time index.
|
TimeDiscretization |
getTimeDiscretization()
Get the time discretization of the model (simulation time).
|
int |
getTimeIndex(double time)
Return the time index associated for the given simulation time.
|
void |
setProcess(MonteCarloProcess process)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyStateSpaceTransform, applyStateSpaceTransform, applyStateSpaceTransformInverse, applyStateSpaceTransformInverse, getCloneWithModifiedData, getDrift, getDrift, getFactorLoading, getFactorLoading, getInitialState, getInitialState, getNumberOfComponents, getNumeraire, getNumeraire, getRandomVariableForConstant
public RandomVariable[] getInitialValue()
public LocalDateTime getReferenceDate()
ProcessModel
getReferenceDate
in interface ProcessModel
@Deprecated public void setProcess(MonteCarloProcess process)
ProcessModel
setProcess
in interface ProcessModel
process
- The process.@Deprecated public MonteCarloProcess getProcess()
ProcessModel
getProcess
in interface ProcessModel
public int getNumberOfFactors()
ProcessModel
getNumberOfFactors
in interface ProcessModel
@Deprecated public RandomVariable getProcessValue(int timeIndex, int componentIndex) throws CalculationException
timeIndex
- The time index of evaluation time (using this models time discretization)componentIndex
- The component of the process vectorCalculationException
- Thrown if the valuation fails, specific cause may be available via the cause()
method.Process.getProcessValue(int, int)
@Deprecated public RandomVariable getMonteCarloWeights(int timeIndex) throws CalculationException
timeIndex
- The time index of evaluation time (using this models time discretization)CalculationException
- Thrown if the valuation fails, specific cause may be available via the cause()
method.Process.getMonteCarloWeights(int)
public final TimeDiscretization getTimeDiscretization()
getTimeDiscretization
in interface ProcessModel
MonteCarloProcessFromProcessModel.getTimeDiscretization()
public final double getTime(int timeIndex)
timeIndex
- Time indexMonteCarloProcessFromProcessModel.getTime(int)
public final int getTimeIndex(double time)
time
- A given time.MonteCarloProcessFromProcessModel.getTimeIndex(double)
Copyright © 2020 finmath.net. All rights reserved.