QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Classes | Public Member Functions | Protected Member Functions | List of all members
AdaptedPathPayoff Class Referenceabstract

#include <adaptedpathpayoff.hpp>

+ Inheritance diagram for AdaptedPathPayoff:
+ Collaboration diagram for AdaptedPathPayoff:

Classes

class  ValuationData
 

Public Member Functions

void value (const Matrix &path, const std::vector< Handle< YieldTermStructure > > &forwardTermStructures, Array &payments, Array &exercises, std::vector< Array > &states) const override
 
- Public Member Functions inherited from PathPayoff
virtual ~PathPayoff ()=default
 
virtual std::string name () const =0
 
virtual std::string description () const =0
 
virtual Size basisSystemDimension () const =0
 
virtual void accept (AcyclicVisitor &)
 

Protected Member Functions

virtual void operator() (ValuationData &data) const =0
 

Detailed Description

Definition at line 31 of file adaptedpathpayoff.hpp.

Member Function Documentation

◆ value()

void value ( const Matrix path,
const std::vector< Handle< YieldTermStructure > > &  forwardTermStructures,
Array payments,
Array exercises,
std::vector< Array > &  states 
) const
overridevirtual

Implements PathPayoff.

Definition at line 87 of file adaptedpathpayoff.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator()()

virtual void operator() ( ValuationData data) const
protectedpure virtual
+ Here is the caller graph for this function: