21#ifndef quantlib_evolution_description_hpp
22#define quantlib_evolution_description_hpp
58 typedef std::pair<Size,Size>
range;
65 std::vector<range>());
66 const std::vector<Time>&
rateTimes()
const;
67 const std::vector<Time>&
rateTaus()
const;
91 const std::vector<Size>& numeraires);
94 const std::vector<Size>& numeraires);
96 const std::vector<Size>& numeraires,
99 const std::vector<Size>& numeraires);
Market-model evolution description.
std::vector< std::pair< Size, Size > > relevanceRates_
std::vector< Size > firstAliveRate_
Size numberOfRates() const
const std::vector< std::pair< Size, Size > > & relevanceRates() const
const std::vector< Time > & rateTimes() const
std::vector< Time > rateTimes_
const std::vector< Time > & rateTaus() const
const std::vector< Time > & evolutionTimes() const
Size numberOfSteps() const
const std::vector< Size > & firstAliveRate() const
std::vector< Time > rateTaus_
std::pair< Size, Size > range
EvolutionDescription()=default
std::vector< Time > evolutionTimes_
std::size_t Size
size of a container
bool isInMoneyMarketMeasure(const EvolutionDescription &evolution, const std::vector< Size > &numeraires)
std::vector< Size > terminalMeasure(const EvolutionDescription &evolution)
Terminal measure: the last bond is used as numeraire.
void checkCompatibility(const EvolutionDescription &evolution, const std::vector< Size > &numeraires)
std::vector< Size > moneyMarketPlusMeasure(const EvolutionDescription &ev, Size offset)
bool isInTerminalMeasure(const EvolutionDescription &evolution, const std::vector< Size > &numeraires)
std::vector< Size > moneyMarketMeasure(const EvolutionDescription &evol)
bool isInMoneyMarketPlusMeasure(const EvolutionDescription &evolution, const std::vector< Size > &numeraires, Size offset)