GeneticAlgoithm
Implementation of the genetic algorithm
IModel.cxx
1 #include "IModel.h"
2 
4 {
5 
6  m_score = 0;
7 }
8 
10 {
11 }
12 
13 /**
14  * @return The score for this model.
15  */
16 double IModel::getScore() const {
17 
18  return m_score;
19 }
20 
21 /**
22  * @param score The score for this model.
23  */
24 void IModel::setScore(double score)
25 {
26 
27  m_score = score;
28 }
29 
double m_score
Holds the score for this model.
Definition: IModel.h:31
double getScore() const
Definition: IModel.cxx:16
void setScore(double score)
Definition: IModel.cxx:24
virtual ~IModel()=0
Definition: IModel.cxx:9
IModel()
Definition: IModel.cxx:3