#include <mccliquetoption.hpp>
Definition at line 36 of file mccliquetoption.hpp.
Public Member Functions | |
Real | errorEstimate () const |
error Estimated of the samples simulated so far | |
McCliquetOption (Option::Type type, Real underlying, Real moneyness, const Handle< YieldTermStructure > ÷ndYield, const Handle< YieldTermStructure > &riskFreeRate, const Handle< BlackVolTermStructure > &volatility, const std::vector< Time > ×, Real accruedCoupon, Real lastFixing, Real localCap, Real localFloor, Real globalCap, Real globalFloor, bool redemptionOnly, BigNatural seed=0) | |
const S & | sampleAccumulator (void) const |
access to the sample accumulator for more statistics | |
Real | value (Real tolerance, Size maxSample=QL_MAX_INTEGER) const |
add samples until the required tolerance is reached | |
Real | valueWithSamples (Size samples) const |
simulate a fixed number of samples | |
Protected Attributes | |
boost::shared_ptr < MonteCarloModel< MC, S > > | mcModel_ |
Static Protected Attributes | |
static const Size | minSample_ = 1023 |