public abstract class AbstractProcess extends Object implements AbstractProcessInterface, Cloneable
numberOfComponents
here.
The default for numberOfFactors
is 1.
This base class manages the time discretization and delegation to the model.The interface definition contains more details.
Constructor and Description |
---|
AbstractProcess(TimeDiscretizationInterface timeDiscretization)
Create a discretization scheme / a time discrete process.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBrownianMotion, getCloneWithModifiedData, getNumberOfFactors, getNumberOfPaths, getStochasticDriver
getMonteCarloWeights, getProcessValue
public AbstractProcess(TimeDiscretizationInterface timeDiscretization)
timeDiscretization
- The time discretization used for the discretization scheme.public abstract Object getCloneWithModifiedSeed(int seed)
public void setModel(AbstractModelInterface model)
AbstractProcessInterface
setModel
in interface AbstractProcessInterface
model
- The model to be used.public int getNumberOfComponents()
getNumberOfComponents
in interface ProcessInterface
public RandomVariableInterface[] getInitialState()
public RandomVariableInterface[] getDrift(int timeIndex, RandomVariableInterface[] realizationAtTimeIndex, RandomVariableInterface[] realizationPredictor)
public RandomVariableInterface[] getFactorLoading(int timeIndex, int component, RandomVariableInterface[] realizationAtTimeIndex)
public RandomVariableInterface applyStateSpaceTransform(int componentIndex, RandomVariableInterface randomVariable)
public RandomVariableInterface applyStateSpaceTransformInverse(int componentIndex, RandomVariableInterface randomVariable)
public TimeDiscretizationInterface getTimeDiscretization()
getTimeDiscretization
in interface ProcessInterface
public double getTime(int timeIndex)
getTime
in interface ProcessInterface
timeIndex
- Time index.public int getTimeIndex(double time)
ProcessInterface
getTimeIndex
in interface ProcessInterface
time
- The given simulation time.public abstract AbstractProcess clone()
AbstractProcessInterface
clone
in interface AbstractProcessInterface
clone
in interface ProcessInterface
clone
in class Object
Copyright © 2017. All rights reserved.