bwer::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, code::Random &rnd)
void randomize (code::Random &rnd)

Static Public Member Functions

static double getSigmaForProb (double prob)

Constructor & Destructor Documentation

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


Member Function Documentation

double bwer::Gene::getDiversity ( const Gene o  )  const

Fuzzy bwer::Gene::getFzVal ( double  x  )  const [inline]

static double bwer::Gene::getSigmaForProb ( double  prob  )  [static]

double bwer::Gene::getWt (  )  const

double bwer::Gene::getX1 (  )  const [inline]

double bwer::Gene::getX2 (  )  const [inline]

bool bwer::Gene::mutate ( double  sigma,
code::Random &  rnd 
)

void bwer::Gene::print ( FILE *  fp  )  const

void bwer::Gene::randomize ( code::Random &  rnd  ) 

void bwer::Gene::setWt ( double  i_wt  )  [inline]

void bwer::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