28 : type_(type), discount_(discount),
29 runningSum_(runningSum), pastFixings_(pastFixings) {}
ArithmeticASOPathPricer(Option::Type type, DiscountFactor discount, Real runningSum=0.0, Size pastFixings=0)
Real operator()(const Path &path) const override
single-factor random walk
Real back() const
final asset value
const TimeGrid & timeGrid() const
time grid
const std::vector< Time > & mandatoryTimes() const
#define QL_REQUIRE(condition, message)
throw an error if the given pre-condition is not verified
Real DiscountFactor
discount factor between dates
std::size_t Size
size of a container
Monte Carlo engine for discrete arithmetic average-strike Asian.