Public Member Functions | |
Gene (double i_min, double i_max, FuzzyRule i_rule) | |
void | setX1X2 (const double &i_x1, const double &i_x2) |
void | setWt (double i_wt) |
Fuzzy | getFzVal (double x) const |
double | getDiversity (const Gene &o) const |
void | print (FILE *fp) const |
double | getX1 () const |
double | getX2 () const |
double | getWt () const |
bool | mutate (double sigma, Random &rnd) |
void | randomize (Random &rnd) |
Static Public Member Functions | |
static double | getSigmaForProb (double prob) |
Gene::Gene | ( | double | i_min, | |
double | i_max, | |||
FuzzyRule | i_rule | |||
) | [inline] |
double Gene::getDiversity | ( | const Gene & | o | ) | const |
Fuzzy Gene::getFzVal | ( | double | x | ) | const [inline] |
static double Gene::getSigmaForProb | ( | double | prob | ) | [static] |
double Gene::getWt | ( | ) | const |
double Gene::getX1 | ( | ) | const [inline] |
double Gene::getX2 | ( | ) | const [inline] |
void Gene::print | ( | FILE * | fp | ) | const |
void Gene::randomize | ( | Random & | rnd | ) |
void Gene::setWt | ( | double | i_wt | ) | [inline] |
void Gene::setX1X2 | ( | const double & | i_x1, | |
const double & | i_x2 | |||
) | [inline] |