StochasticProcess Class Reference#include <ql/stochasticprocess.hpp>
Inheritance diagram for StochasticProcess:
[legend]List of all members.
Detailed Description
Stochastic process class.
This class describes a stochastic process governed by
Member Function Documentation
|
returns the expectation of the process after a time interval according to the given discretization. This method can be overridden in derived classes which want to hard-code a particular discretization.
Reimplemented in OrnsteinUhlenbeckProcess. |
|
returns the variance of the process after a time interval according to the given discretization. This method can be overridden in derived classes which want to hard-code a particular discretization.
Reimplemented in OrnsteinUhlenbeckProcess. |
virtual Real evolve |
( |
Real |
change, |
|
|
Real |
currentValue |
|
) |
const [virtual] |
|
virtual Time time |
( |
const Date & |
|
) |
const [virtual] |
|
|
returns the time value corresponding to the given date in the reference system of the stochastic process.
- Note:
- As a number of processes might not need this functionality, a default implementation is given which raises an exception.
Reimplemented in BlackScholesProcess, and Merton76Process. |
void update |
( |
|
) |
[virtual] |
|
|
This method must be implemented in derived classes. An instance of Observer does not call this method directly: instead, it will be called by the observables the instance registered with when they need to notify any changes.
Implements Observer.
Reimplemented in BlackScholesProcess. |
|