forked from jacyara/GenESyS-Reborn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FactorOrInteractionContribution.cpp
39 lines (30 loc) · 1.07 KB
/
FactorOrInteractionContribution.cpp
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
31
32
33
34
35
36
37
38
39
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: FactorOrInteractionContribution.cpp
* Author: cancian
*
* Created on 10 de Outubro de 2018, 20:08
*/
#include "FactorOrInteractionContribution.h"
FactorOrInteractionContribution::FactorOrInteractionContribution(double contribution, double modelCoefficient, std::list<SimulationControl*>* controls) {
_contribution = contribution;
_modelCoefficient = modelCoefficient;
_controls = controls;
}
FactorOrInteractionContribution::FactorOrInteractionContribution(const FactorOrInteractionContribution& orig) {
}
FactorOrInteractionContribution::~FactorOrInteractionContribution() {
}
double FactorOrInteractionContribution::getModelCoefficient() const {
return _modelCoefficient;
}
std::list<SimulationControl*>* FactorOrInteractionContribution::getControls() const {
return _controls;
}
double FactorOrInteractionContribution::getContribution() const {
return _contribution;
}