|
QuantLib: a free/open-source library for quantitative finance
Reference manual - version 1.40
|
Generates random paths using a sequence generator. More...
#include <ql/methods/montecarlo/pathgenerator.hpp>
Public Types | |
| typedef Sample< Path > | sample_type |
Public Member Functions | |
| PathGenerator (const ext::shared_ptr< StochasticProcess > &, Time length, Size timeSteps, GSG generator, bool brownianBridge) | |
| PathGenerator (const ext::shared_ptr< StochasticProcess > &, TimeGrid timeGrid, GSG generator, bool brownianBridge) | |
inspectors | |
| const sample_type & | next () const |
| const sample_type & | antithetic () const |
| Size | size () const |
| const TimeGrid & | timeGrid () const |
Generates random paths using a sequence generator.
Generates random paths with drift(S,t) and variance(S,t) using a gaussian sequence generator