|
SSJ V. labo. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectumontreal.iro.lecuyer.stochprocess.StochasticProcess
umontreal.iro.lecuyer.stochprocess.MultivariateStochasticProcess
public abstract class MultivariateStochasticProcess
This class is a multivariate version of StochasticProcess
where the process
evolves in the c-dimensional real space.
It is an abstract (base) class for a multivariate stochastic process
{X(t) = (X1(t),..., Xc(t)), t >= 0},
sampled (or observed) at a finite number of time points,
0 = t0 < t1 < ... < td.
The observation times can be specified by setObservationTimes
.
The method generatePath
generates
X(t1),...,X(td) and memorizes
them in a (one-dimensional) vector, which can be recovered by getPath
.
The element cj + i-1 of this vector contains Xi(tj),
for
j = 0,..., d and
i = 1,..., c.
Alternatively, in some cases, the observations X(tj) can be
generated sequentially, one at a time, by invoking resetStartProcess
first, and then nextObservationVector
repeatedly.
Constructor Summary | |
---|---|
MultivariateStochasticProcess()
|
Method Summary | |
---|---|
abstract double[] |
generatePath()
Generates, returns, and saves the sample path {X(t0),X(t1),…,X(td)}, which can then be accessed via getPath, getSubpath, or getObservation. |
void |
getCurrentObservation(double[] obs)
Returns the value of the last generated observation X(tj). |
int |
getDimension()
Returns the dimension of X. |
void |
getObservation(int j,
double[] obs)
Returns X(tj) in the c-dimensional vector obs. |
double |
getObservation(int j,
int i)
Returns Xi(tj) from the current sample path. |
void |
getSubpath(double[] subpath,
int[] pathIndices)
Returns in subpath the values of the process at a subset of the observation times, specified as the times tj whose indices j are in the array pathIndices. |
double[] |
getX0(double[] x0)
Returns in x0 the initial value X(t0) for this process. |
abstract void |
nextObservationVector(double[] obs)
Generates and returns in obs the next observation X(tj). |
void |
setObservationTimes(double[] t,
int d)
Sets the observation times of the process to a copy of t, with t0 = |
Methods inherited from class umontreal.iro.lecuyer.stochprocess.StochasticProcess |
---|
generatePath, getArrayMappingCounterToIndex, getCurrentObservation, getCurrentObservationIndex, getNbObservationTimes, getObservation, getObservationTimes, getPath, getStream, getX0, hasNextObservation, nextObservation, resetStartProcess, setObservationTimes, setStream, setX0 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultivariateStochasticProcess()
Method Detail |
---|
public abstract double[] generatePath()
generatePath
in class StochasticProcess
public void getSubpath(double[] subpath, int[] pathIndices)
getSubpath
in class StochasticProcess
public void setObservationTimes(double[] t, int d)
setObservationTimes
in class StochasticProcess
public void getObservation(int j, double[] obs)
public double getObservation(int j, int i)
public abstract void nextObservationVector(double[] obs)
public void getCurrentObservation(double[] obs)
public double[] getX0(double[] x0)
public int getDimension()
|
SSJ V. labo. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |