public class JumpProcessIncrements extends Object implements IndependentIncrementsInterface, Serializable
| Constructor and Description |
|---|
JumpProcessIncrements(TimeDiscretizationInterface timeDiscretization,
double[] jumpIntensities,
int numberOfPaths,
int seed)
Construct a jump process.
|
JumpProcessIncrements(TimeDiscretizationInterface timeDiscretization,
double[] jumpIntensities,
int numberOfPaths,
int seed,
AbstractRandomVariableFactory randomVariableFactory)
Construct a jump process.
|
| Modifier and Type | Method and Description |
|---|---|
JumpProcessIncrements |
getCloneWithModifiedSeed(int seed)
Return a new object implementing BrownianMotionInterface
having the same specifications as this object but a different seed
for the random number generator.
|
JumpProcessIncrements |
getCloneWithModifiedTimeDiscretization(TimeDiscretizationInterface newTimeDiscretization)
Return a new object implementing BrownianMotionInterface
having the same specifications as this object but a different
time discretization.
|
RandomVariableInterface |
getIncrement(int timeIndex,
int factor)
Return the increment for a given timeIndex and given factor.
|
int |
getNumberOfFactors()
Returns the number of factors.
|
int |
getNumberOfPaths()
Returns the number of paths.
|
RandomVariableInterface |
getRandomVariableForConstant(double value)
Returns a random variable which is initialized to a constant,
but has exactly the same number of paths or discretization points as the ones used by this BrownianMotionInterface.
|
int |
getSeed() |
TimeDiscretizationInterface |
getTimeDiscretization()
Returns the time discretization used for this set of time-discrete Brownian increments.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetIncrementpublic JumpProcessIncrements(TimeDiscretizationInterface timeDiscretization, double[] jumpIntensities, int numberOfPaths, int seed, AbstractRandomVariableFactory randomVariableFactory)
timeDiscretization - The time discretization used for the increments.jumpIntensities - The jump intensities, one for each factor.numberOfPaths - Number of paths to simulate.seed - The seed of the random number generator.randomVariableFactory - Factory to be used to create random variable.public JumpProcessIncrements(TimeDiscretizationInterface timeDiscretization, double[] jumpIntensities, int numberOfPaths, int seed)
timeDiscretization - The time discretization used for the Brownian increments.jumpIntensities - The vector of jump intensities, one intensity for each factor.numberOfPaths - Number of paths to simulate.seed - The seed of the random number generator.public JumpProcessIncrements getCloneWithModifiedSeed(int seed)
IndependentIncrementsInterfacegetCloneWithModifiedSeed in interface IndependentIncrementsInterfaceseed - New value for the seed.public JumpProcessIncrements getCloneWithModifiedTimeDiscretization(TimeDiscretizationInterface newTimeDiscretization)
IndependentIncrementsInterfacegetCloneWithModifiedTimeDiscretization in interface IndependentIncrementsInterfacenewTimeDiscretization - New time discretizationpublic RandomVariableInterface getIncrement(int timeIndex, int factor)
IndependentIncrementsInterfacegetIncrement in interface IndependentIncrementsInterfacetimeIndex - The time index (corresponding to the this class's time discretization)factor - The index of the factor (independent scalar increment)public TimeDiscretizationInterface getTimeDiscretization()
IndependentIncrementsInterfacegetTimeDiscretization in interface IndependentIncrementsInterfacepublic int getNumberOfFactors()
IndependentIncrementsInterfacegetNumberOfFactors in interface IndependentIncrementsInterfacepublic int getNumberOfPaths()
IndependentIncrementsInterfacegetNumberOfPaths in interface IndependentIncrementsInterfacepublic RandomVariableInterface getRandomVariableForConstant(double value)
IndependentIncrementsInterfacegetRandomVariableForConstant in interface IndependentIncrementsInterfacevalue - The constant value to be used for initialized the random variable.public int getSeed()
Copyright © 2017. All rights reserved.