From 33613a85afc4b1481367fbe92a17ee59c240250b Mon Sep 17 00:00:00 2001 From: Sven Eisenhauer Date: Fri, 10 Nov 2023 15:11:48 +0100 Subject: add new repo --- .../Aufgabe2und3/src/MonteCarloSimulation.h | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Master/Modellbildung_und_Simulation/Aufgabenblatt2/Aufgabe2und3/src/MonteCarloSimulation.h (limited to 'Master/Modellbildung_und_Simulation/Aufgabenblatt2/Aufgabe2und3/src/MonteCarloSimulation.h') diff --git a/Master/Modellbildung_und_Simulation/Aufgabenblatt2/Aufgabe2und3/src/MonteCarloSimulation.h b/Master/Modellbildung_und_Simulation/Aufgabenblatt2/Aufgabe2und3/src/MonteCarloSimulation.h new file mode 100644 index 0000000..7865067 --- /dev/null +++ b/Master/Modellbildung_und_Simulation/Aufgabenblatt2/Aufgabe2und3/src/MonteCarloSimulation.h @@ -0,0 +1,28 @@ +/* + * MonteCarloSimulation.h + * + * Created on: 20.05.2011 + * Author: sven + */ + +#ifndef MONTECARLOSIMULATION_H_ +#define MONTECARLOSIMULATION_H_ + +#include "Parametrisation.h" +#include "CholeskyDecomposition.h" + +#include + +typedef std::vector< std::vector > SimulatedCourseChanges; + +class MonteCarloSimulation { +public: + MonteCarloSimulation(); + virtual ~MonteCarloSimulation(); + void doSimulations(const Parametrisation& param, const CholeskyDecomposition& cholDecomp); +private: + SimulatedCourseChanges mOneDaySimulatedCourseChanges; + SimulatedCourseChanges mTenDaySimulatedCourseChanges; +}; + +#endif /* MONTECARLOSIMULATION_H_ */ -- cgit v1.2.3