Init version
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user