39 T(pred, numGenes, ch1, ch2, perf) {};
54 for (
int i = 0; i < _numGenes; i++)
56 values1[i] = genes[i * 2];
57 values2[i] = genes[i * 2 + 1];
62 _chrom1 =
Sample(_numGenes, values1);
63 _chrom2 =
Sample(_numGenes, values2);
void setPrediction(Scalar newPrediction)
double Scalar
Type of map values.
ExtendedDummyRule(Scalar pred, int numGenes, Sample &ch1, Sample &ch2, double *perf)
double * getPerformanceArray()
GarpRule * objFactory() const
void setGenes(Scalar *genes, int numGenes)
ExtendedDummyRule(int numGenes=0)