setPrng(RandomEngine prng)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
currentPrice
protected double currentPrice
initialPrice
protected double initialPrice
wienerProcess
protected double wienerProcess
drift
protected double drift
volatility
protected double volatility
dt
protected double dt
priceWrapper
protected MutableDoubleWrapper priceWrapper
prng
protected RandomEngine prng
noiseDistribution
protected Normal noiseDistribution
GeometricBrownianMotionPriceProcess
public GeometricBrownianMotionPriceProcess()
eventOccurred
public void eventOccurred(SimEvent event)
- Overrides:
eventOccurred in class MarketPriceReportVariables
onSimulationStarting
public void onSimulationStarting(SimulationStartingEvent event)
onRoundFinished
public void onRoundFinished(RoundFinishedEvent event)
- Overrides:
onRoundFinished in class MarketPriceReportVariables
getName
public java.lang.String getName()
- Specified by:
getName in class MarketPriceReportVariables
afterPropertiesSet
public void afterPropertiesSet()
throws java.lang.Exception
- Throws:
java.lang.Exception
initialise
public void initialise()
getDrift
public double getDrift()
setDrift
public void setDrift(double drift)
getVolatility
public double getVolatility()
setVolatility
public void setVolatility(double volatility)
getDt
public double getDt()
setDt
public void setDt(double dt)
getPrng
public RandomEngine getPrng()
setPrng
getPrice
public double getPrice(RoundFinishedEvent event)
- Specified by:
getPrice in class MarketPriceReportVariables
getPriceWrapper
public MutableDoubleWrapper getPriceWrapper()
setPriceWrapper
public void setPriceWrapper(MutableDoubleWrapper priceWrapper)
|