30 isExerciseTime_(exercise.isExerciseTime()), numberOfVariables_(exercise.numberOfVariables()) {
31 std::vector<Time> evolutionTimes =
33 for (
Size i=0; i<evolutionTimes.size(); ++i) {
44 return exercise_->evolution().evolutionTimes();
Curve state for market-model simulations
ParametricExerciseAdapter(const MarketModelParametricExercise &exercise, std::vector< std::vector< Real > > parameters)
Clone< MarketModelParametricExercise > exercise_
std::vector< Size > numberOfVariables_
std::vector< Time > relevantTimes() const override
std::vector< Real > variables_
bool exercise(const CurveState ¤tState) const override
std::vector< Time > exerciseTimes_
std::unique_ptr< ExerciseStrategy< CurveState > > clone() const override
std::valarray< bool > isExerciseTime_
void nextStep(const CurveState ¤tState) override
std::vector< Time > exerciseTimes() const override
std::vector< std::vector< Real > > parameters_
std::size_t Size
size of a container
std::vector< Real > parameters_
const ParametricExercise & exercise_