11 lines
309 B
C++
11 lines
309 B
C++
#include "InOutBreedingPhenToFitStrategy.h"
|
|
#include "../../../Phenotype.h"
|
|
|
|
double InOutBreedingPhenToFitStrategy::calculateFitness(Phenotype *phen){
|
|
double ans = 0.0;
|
|
|
|
|
|
ans = phen->getTraitByName("coadaptive").getTraitValueCont();
|
|
//float coef = phen->getTraitByName("disease")
|
|
return ans;
|
|
} |