-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathResult.cc
38 lines (31 loc) · 901 Bytes
/
Result.cc
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
#include "Result.hh"
//constructor
Result::Result(std::string sequence,std::string restricted,double restricted_energy, std::string final_structure, double final_energy, int method_chosen){
this->sequence = sequence;
this->restricted = restricted;
this->restricted_energy = restricted_energy;
this->final_structure = final_structure;
this->final_energy = final_energy;
this->method_chosen = method_chosen;
}
//destructor
Result::~Result(){
}
std::string Result::get_sequence(){
return this->sequence;
}
std::string Result::get_restricted(){
return this->restricted;
}
std::string Result::get_final_structure(){
return this->final_structure;
}
double Result::get_final_energy(){
return this->final_energy;
}
double Result::get_restricted_energy(){
return this->restricted_energy;
}
int Result::get_method_chosen(){
return this->method_chosen;
}