# QuantLib_Gaussian1dFloatFloatSwaptionEngine man page

Gaussian1dFloatFloatSwaptionEngine — One factor model float float swaption engine.

## Synopsis

`#include <ql/pricingengines/swaption/gaussian1dfloatfloatswaptionengine.hpp>`

Inherits BasketGeneratingEngine, and **GenericModelEngine< Gaussian1dModel, FloatFloatSwaption::arguments, FloatFloatSwaption::results >**.

### Public Types

enumProbabilities{None,Naive,Digital}

### Public Member Functions

Gaussian1dFloatFloatSwaptionEngine(const boost::shared_ptr<Gaussian1dModel> &model, const int integrationPoints=64, constRealstddevs=7.0, const bool extrapolatePayoff=true, const bool flatPayoffExtrapolation=false, constHandle<Quote> &oas=Handle<Quote>(), constHandle<YieldTermStructure> &discountCurve=Handle<YieldTermStructure>(), const bool includeTodaysExercise=false, const Probabilities probabilities=None)

voidcalculate() constHandle<YieldTermStructure>discountingCurve() const

### Protected Member Functions

Real underlyingNpv(constDate&expiry, constRealy) const

VanillaSwap::TypeunderlyingType() const

constDate underlyingLastDate() const

constDisposable<Array>initialGuess(constDate&expiry) const

### Additional Inherited Members

## Detailed Description

One factor model float float swaption engine.

All float coupons with fixing date greater or equal the respective option expiry are considered part of the exercise into right. Note that this is different from the usual accrual start date greater or equal exercise date if the fixing lag is strictly greater than the exercise lag (which should be a rare case). For the redepmtion flows the criterion is that the associated start date of the redemption flow (i.e. the start date of the regular coupon period with same payment date as the redemption flow) is greater or equal the exercise date.

The addtional result underlyingValue is the npv of the underlying (as seen from 'today') including all fixings greater (or greater equal depending on includeTodaysExercise) today.

## Author

Generated automatically by Doxygen for QuantLib from the source code.

## Referenced By

discountingCurve(3), Gaussian1dFloatFloatSwaptionEngine(3), initialGuess(3), underlyingLastDate(3), underlyingNpv(3) and underlyingType(3) are aliases of QuantLib_Gaussian1dFloatFloatSwaptionEngine(3).