58 const double * performances) :
59 RangeRule(prediction, numGenes, chrom1, chrom2, performances)
84 int strength, neg_strength;
87 neg_strength = 1 - strength;
virtual ~NegatedRangeRule()
double Scalar
Type of map values.
static Log * instance()
Returns the instance pointer, creating the object on the first call.
virtual double getStrength(EnvCell *cell)
Sample _chrom1
BYTE vector containing the genes (representation of the variables in a Genetic Algorithm.
virtual double getStrength(EnvCell *cell)
virtual bool applies(const Sample &sample) const
bool between(double value, double min, double max)
int _numGenes
Number of genes stored by the rule.
bool equalEps(double v1, double v2)
void info(const char *format,...)
'Info' level.