-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathExperimentType.cpp
More file actions
30 lines (19 loc) · 840 Bytes
/
ExperimentType.cpp
File metadata and controls
30 lines (19 loc) · 840 Bytes
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
29
30
/*
* ExperimentType.cpp
*
* Created on: Nov 21, 2016
* Author: rocco
*/
#include "ExperimentType.h"
ExperimentType::ExperimentType() : mov1(0), mov2(0), type('a') {}
ExperimentType::ExperimentType(int m1, int m2, char t, int numTests)
: mov1(m1), mov2(m2), type(t), numTest(numTests),
savingFactor(100), beginningMonies(10000) {}
int ExperimentType::getMov1() { return mov1; }
int ExperimentType::getMov2() { return mov2; }
int ExperimentType::getNumTests() { return numTest; }
int ExperimentType::getSavFactor() { return savingFactor; }
char ExperimentType::getType() { return type; }
double ExperimentType::getStartingMonies() { return beginningMonies; }
void ExperimentType::setSavingFactor(int in) { savingFactor = in; }
void ExperimentType::setStartingMonies(double in) { beginningMonies = in; }