stochasticProcess.hpp
Go to the documentation of this file.
1 #ifndef JULIAN_STOCHASTICPROCESS_HPP
2 #define JULIAN_STOCHASTICPROCESS_HPP
3 
5 #include <utils/smartPointer.hpp>
7 
8 namespace julian {
21  public:
28 
37  virtual Path getPath(double initial_value, const TimeGrid& grid, SmartPointer<UniformRNG>& rng) const = 0;
38 
47  virtual Path getPath(double initial_value, const TimeGrid& grid, const std::vector<double>& rnds) const = 0;
48 
52  virtual StochasticProcess* clone() const = 0;
53 
59  virtual ~StochasticProcess(){};
60 
61  private:
62  };
63 } // namespace julian
64 
65 #endif
File contains template of deep-coping smart pointer.
Class implements a TimeGrid object.
Definition: timeGrid.hpp:21
File contains implementation of Path object.
virtual ~StochasticProcess()
Destructor.
Definition: stochasticProcess.hpp:59
Path is a series of real numbers indexed with time. In general, it is identical with a series of time...
Definition: path.hpp:18
Definition: cadHoliday.cpp:3
StochasticProcess()
Constructor.
Definition: stochasticProcess.hpp:27
Template of deep-coping smart pointer.
Definition: smartPointer.hpp:14
File contains implementation of RNG generating random variables from uniform distribution.
Class is an abstract type expressing the concept of stochastic process.
Definition: stochasticProcess.hpp:20
virtual StochasticProcess * clone() const =0
Virtual copy constructor.
virtual Path getPath(double initial_value, const TimeGrid &grid, SmartPointer< UniformRNG > &rng) const =0
generates path