QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
|
#include <ql/experimental/mcbasket/adaptedpathpayoff.hpp>
Public Member Functions | |
Size | numberOfTimes () const |
Size | numberOfAssets () const |
Real | getAssetValue (Size time, Size asset) |
const Handle< YieldTermStructure > & | getYieldTermStructure (Size time) |
void | setPayoffValue (Size time, Real value) |
void | setExerciseData (Size time, Real exercise, Array &state) |
Private Member Functions | |
ValuationData (const Matrix &path, const std::vector< Handle< YieldTermStructure > > &forwardTermStructures, Array &payments, Array &exercises, std::vector< Array > &states) | |
Private Attributes | |
const Matrix & | path_ |
const std::vector< Handle< YieldTermStructure > > & | forwardTermStructures_ |
Array & | payments_ |
Array & | exercises_ |
std::vector< Array > & | states_ |
Size | maximumTimeRead_ = 0 |
Friends | |
class | AdaptedPathPayoff |
Definition at line 34 of file adaptedpathpayoff.hpp.
|
private |
Definition at line 28 of file adaptedpathpayoff.cpp.
Size numberOfTimes | ( | ) | const |
Definition at line 39 of file adaptedpathpayoff.cpp.
Size numberOfAssets | ( | ) | const |
Definition at line 43 of file adaptedpathpayoff.cpp.
Definition at line 47 of file adaptedpathpayoff.cpp.
const Handle< YieldTermStructure > & getYieldTermStructure | ( | Size | time | ) |
Definition at line 53 of file adaptedpathpayoff.cpp.
Definition at line 70 of file adaptedpathpayoff.cpp.
|
friend |
Definition at line 51 of file adaptedpathpayoff.hpp.
|
private |
Definition at line 59 of file adaptedpathpayoff.hpp.
|
private |
Definition at line 60 of file adaptedpathpayoff.hpp.
|
private |
Definition at line 62 of file adaptedpathpayoff.hpp.
|
private |
Definition at line 63 of file adaptedpathpayoff.hpp.
|
private |
Definition at line 64 of file adaptedpathpayoff.hpp.
|
private |
Definition at line 66 of file adaptedpathpayoff.hpp.