42 QuantLib::Real gammaThreshold);
48 void reset()
override;
52 QuantLib::ext::shared_ptr<SensitivityStream>
ss_;
Class that wraps a sensitivity stream and filters out negligible records.
QuantLib::Real gammaThreshold_
The gamma threshold.
FilteredSensitivityStream(const QuantLib::ext::shared_ptr< SensitivityStream > &ss, QuantLib::Real deltaThreshold, QuantLib::Real gammaThreshold)
QuantLib::ext::shared_ptr< SensitivityStream > ss_
The underlying sensitivity stream that has been wrapped.
QuantLib::Real deltaThreshold_
The delta threshold.
void reset() override
Resets the stream so that SensitivityRecord objects can be streamed again.
SensitivityRecord next() override
Returns the next SensitivityRecord in the stream after filtering.
std::set< RiskFactorKey > deltaKeys_
Set to hold Delta Keys appearing in CrossGammas.
Base Class for streaming SensitivityRecords.
Base class for sensitivity record streamer.