25#ifndef quantlib_random_default_model_hpp
26#define quantlib_random_default_model_hpp
40 const std::vector<DefaultProbKey>& defaultKeys)
43 QL_REQUIRE(defaultKeys.size() == pool->size(),
"Incompatible pool and keys sizes.");
66 const std::vector<DefaultProbKey>& defaultKeys,
71 void reset()
override;
PseudoRandom::rsg_type rsg_
Handle< OneFactorCopula > copula_
void nextSequence(Real tmax=QL_MAX_REAL) override
Shared handle to an observable.
Inverse cumulative random sequence generator.
Object that notifies its changes to a set of observers.
Object that gets notified when a given observable changes.
Base class for random default models.
ext::shared_ptr< Pool > pool_
std::vector< DefaultProbKey > defaultKeys_
RandomDefaultModel(const ext::shared_ptr< Pool > &pool, const std::vector< DefaultProbKey > &defaultKeys)
virtual void nextSequence(Real tmax=QL_MAX_REAL)=0
~RandomDefaultModel() override=default
Classes for default-event description.
#define QL_REQUIRE(condition, message)
throw an error if the given pre-condition is not verified
One-factor copula base class.
random-number generation policies