#include <qle/pricingengines/amccalculator.hpp>
◆ npvCurrency()
| virtual QuantLib::Currency npvCurrency |
( |
| ) |
|
|
pure virtual |
currency of simulated npvs
◆ simulatePath()
| virtual std::vector<QuantExt::RandomVariable> simulatePath |
( |
const std::vector< QuantLib::Real > & |
pathTimes, |
|
|
std::vector< std::vector< QuantExt::RandomVariable >> & |
paths, |
|
|
const std::vector< size_t > & |
relevantPathIndex, |
|
|
const std::vector< size_t > & |
relevantTimeIndex |
|
) |
| |
|
pure virtual |
- simulate paths on given times and return simulated npvs for all paths
- relevantPathIndex gives the relevant entries in the paths that should be simulated in the end
- relevantTimeIndex gives the corrosponding time indexes for a sticky closeOut run
- if stickyCloseOutRun is true, the simulation times should be taken relevantTimeIndexes