Logo Search packages:      
Sourcecode: quantlib version File versions  Download package

QuantLib::ExtendedEqualProbabilitiesBinomialTree< T > Class Template Reference

#include <extendedbinomialtree.hpp>

Inheritance diagram for QuantLib::ExtendedEqualProbabilitiesBinomialTree< T >:

QuantLib::ExtendedBinomialTree< T > QuantLib::Tree< T > QuantLib::CuriouslyRecurringTemplate< T > QuantLib::ExtendedAdditiveEQPBinomialTree QuantLib::ExtendedJarrowRudd

List of all members.


Detailed Description

template<class T>
class QuantLib::ExtendedEqualProbabilitiesBinomialTree< T >

Base class for equal probabilities binomial tree.

Definition at line 74 of file extendedbinomialtree.hpp.


Public Types

enum  Branches { branches = 2 }

Public Member Functions

Size columns () const
Size descendant (Size, Size index, Size branch) const
 ExtendedEqualProbabilitiesBinomialTree (const boost::shared_ptr< StochasticProcess1D > &process, Time end, Size steps)
Real probability (Size, Size, Size) const
Size size (Size i) const
Real underlying (Size i, Size index) const

Protected Member Functions

Real driftStep (Time driftTime) const
const T & impl () const
T & impl ()
virtual Real upStep (Time stepTime) const =0

Protected Attributes

Real driftPerStep_
Time dt_
boost::shared_ptr
< StochasticProcess1D
treeProcess_
Real up_
Real x0_

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index