Gene Class Reference

List of all members.

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)

Constructor & Destructor Documentation

Gene::Gene ( double  i_min,
double  i_max,
FuzzyRule  i_rule 
) [inline]


Member Function Documentation

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]

bool Gene::mutate ( double  sigma,
Random rnd 
)

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]


Generated on Fri May 4 13:40:21 2012 for WDSS-IIw2algs by  doxygen 1.4.7