add some missing className
This commit is contained in:
parent
39ff028e57
commit
da4118142f
2 changed files with 20 additions and 0 deletions
|
|
@ -28,6 +28,8 @@ class eoStandardBitMutation : public eoMonOp<EOT>
|
|||
return _bitflip(chrom);
|
||||
}
|
||||
|
||||
virtual std::string className() const {return "eoStandardBitMutation";}
|
||||
|
||||
protected:
|
||||
double _rate;
|
||||
unsigned _nb;
|
||||
|
|
@ -58,6 +60,8 @@ class eoUniformBitMutation : public eoMonOp<EOT>
|
|||
return _bitflip(chrom);
|
||||
}
|
||||
|
||||
virtual std::string className() const {return "eoUniformBitMutation";}
|
||||
|
||||
protected:
|
||||
double _rate;
|
||||
unsigned _nb;
|
||||
|
|
@ -93,6 +97,8 @@ class eoConditionalBitMutation : public eoStandardBitMutation<EOT>
|
|||
// thus one don't need to re-instantiate.
|
||||
return this->_bitflip(chrom);
|
||||
}
|
||||
|
||||
virtual std::string className() const {return "eoConditionalBitMutation";}
|
||||
};
|
||||
|
||||
/** Shifted standard bit mutation with mutation rate p:
|
||||
|
|
@ -125,6 +131,8 @@ class eoShiftedBitMutation : public eoStandardBitMutation<EOT>
|
|||
// thus one don't need to re-instantiate.
|
||||
return this->_bitflip(chrom);
|
||||
}
|
||||
|
||||
virtual std::string className() const {return "eoShiftedBitMutation";}
|
||||
};
|
||||
|
||||
/** Mutation which size is sample in a gaussian.
|
||||
|
|
@ -163,6 +171,8 @@ class eoNormalBitMutation : public eoStandardBitMutation<EOT>
|
|||
return this->_bitflip(chrom);
|
||||
}
|
||||
|
||||
virtual std::string className() const {return "eoNormalBitMutation";}
|
||||
|
||||
protected:
|
||||
double _variance;
|
||||
};
|
||||
|
|
@ -196,6 +206,8 @@ class eoFastBitMutation : public eoStandardBitMutation<EOT>
|
|||
return this->_bitflip(chrom);
|
||||
}
|
||||
|
||||
virtual std::string className() const {return "eoFastBitMutation";}
|
||||
|
||||
protected:
|
||||
|
||||
double powerlaw(unsigned n, double beta)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue