30#include <ql/instruments/vanillaoption.hpp>
39 const Handle<CrossAssetModel>&
model,
const Currency& domesticCcy,
const Currency& foreignCcy,
41 const Size calibrationSamples,
const Size pricingSamples,
const Size calibrationSeed,
const Size pricingSeed,
42 const Size polynomOrder,
const LsmBasisSystem::PolynomialType polynomType,
43 const SobolBrownianGenerator::Ordering ordering = SobolBrownianGenerator::Steps,
44 const SobolRsg::DirectionIntegers directionIntegers = SobolRsg::JoeKuoD7,
45 const std::vector<Handle<YieldTermStructure>>& discountCurves = std::vector<Handle<YieldTermStructure>>(),
46 const std::vector<Date>& simulationDates = std::vector<Date>(),
47 const std::vector<Size>& externalModelIndices = std::vector<Size>(),
const bool minimalObsDate =
true,
49 const Real regressionVarianceCutoff = Null<Real>());
52 const Handle<CrossAssetModel>&
model()
const {
return model_; }
const Handle< CrossAssetModel > & model() const
void calculate() const override
const Currency domesticCcy_
const Currency foreignCcy_
Handle< CrossAssetModel > model_
base MC engine for multileg (option) instruments
base class for multi path generators