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.
|
Modifier and Type | Method and Description |
---|---|
RandomVariableInterface |
applyStateSpaceTransform(int componentIndex,
RandomVariableInterface randomVariable) |
abstract AbstractProcess |
clone()
Create and return a clone of this process.
|
abstract Object |
getCloneWithModifiedSeed(int seed) |
RandomVariableInterface[] |
getDrift(int timeIndex,
RandomVariableInterface[] realizationAtTimeIndex,
RandomVariableInterface[] realizationPredictor) |
RandomVariableInterface[] |
getFactorLoading(int timeIndex,
int component,
RandomVariableInterface[] realizationAtTimeIndex) |
RandomVariableInterface[] |
getInitialState() |
int |
getNumberOfComponents() |
double |
getTime(int timeIndex) |
TimeDiscretizationInterface |
getTimeDiscretization() |
int |
getTimeIndex(double time)
Returns the time index for a given simulation time.
|
void |
setModel(AbstractModelInterface model) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBrownianMotion, getNumberOfFactors, getNumberOfPaths
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)
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 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 © 2015. All rights reserved.