A question about LongstaffSchwartzPathPricer

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

A question about LongstaffSchwartzPathPricer

andrea-110
Hi,

I've trying to integrate the LS early exercise in the framework of the experimental mcbasket.

I've noticed that EarlyExercisePathPricer takes 3 template arguments

     template<class PathType,
              class TimeType=Size, class ValueType=Real>
     class EarlyExercisePathPricer {

(the one I am interested in is ValueType)

But in all places where it is used (LongstaffSchwartzPathPricer & MCLongstaffSchwartzEngine)
only the first template argument is exposed.

Now I would like to use this argument, since my payoff returns an array of payments (at different
times), so to set it to Array.

As anybody ever used the LS framework with options that pay more than once?


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users