summaryrefslogtreecommitdiffstats
path: root/Master/Modellbildung_und_Simulation/Aufgabenblatt2/Aufgabe2und3/src/MonteCarloSimulation.h
blob: 7865067c2a47c6e90750c3d8b3efd3b418a0c41e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * MonteCarloSimulation.h
 *
 *  Created on: 20.05.2011
 *      Author: sven
 */

#ifndef MONTECARLOSIMULATION_H_
#define MONTECARLOSIMULATION_H_

#include "Parametrisation.h"
#include "CholeskyDecomposition.h"

#include <vector>

typedef std::vector< std::vector<double> > SimulatedCourseChanges;

class MonteCarloSimulation {
public:
	MonteCarloSimulation();
	virtual ~MonteCarloSimulation();
	void doSimulations(const Parametrisation& param, const CholeskyDecomposition& cholDecomp);
private:
	SimulatedCourseChanges mOneDaySimulatedCourseChanges;
	SimulatedCourseChanges mTenDaySimulatedCourseChanges;
};

#endif /* MONTECARLOSIMULATION_H_ */