Polynomial mutation operator. More...
#include <shark/Algorithms/DirectSearch/Operators/Mutation/PolynomialMutation.h>
Public Member Functions | |
PolynomialMutator () | |
Default c'tor. More... | |
void | init (RealVector const &lower, RealVector const &upper) |
Initializes the operator for the supplied box-constraints. More... | |
template<typename IndividualType > | |
void | operator() (random::rng_type &rng, IndividualType &ind) const |
Mutates the supplied individual. More... | |
template<typename Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Serializes this instance to the supplied archive. More... | |
Public Attributes | |
double | m_nm |
double | m_prob |
RealVector | m_upper |
RealVector | m_lower |
Polynomial mutation operator.
Definition at line 42 of file PolynomialMutation.h.
|
inline |
Default c'tor.
Definition at line 45 of file PolynomialMutation.h.
|
inline |
Initializes the operator for the supplied box-constraints.
Definition at line 48 of file PolynomialMutation.h.
References m_lower, m_prob, m_upper, and SIZE_CHECK.
Referenced by shark::SMSEMOA::doInit(), and shark::IndicatorBasedRealCodedNSGAII< NSGA3Indicator >::doInit().
|
inline |
Mutates the supplied individual.
for accessing the actual search point.
[in,out] | ind | Individual to be mutated. |
Definition at line 60 of file PolynomialMutation.h.
References shark::random::coinToss(), m_lower, m_nm, m_prob, m_upper, shark::Individual< PointType, FitnessTypeT, Chromosome >::searchPoint(), and shark::random::uni().
|
inline |
RealVector shark::PolynomialMutator::m_lower |
Definition at line 116 of file PolynomialMutation.h.
Referenced by init(), operator()(), and serialize().
double shark::PolynomialMutator::m_nm |
Definition at line 112 of file PolynomialMutation.h.
Referenced by shark::SMSEMOA::doInit(), shark::IndicatorBasedRealCodedNSGAII< NSGA3Indicator >::doInit(), shark::MOEAD::nm(), shark::RVEA::nm(), shark::SMSEMOA::nm(), shark::IndicatorBasedRealCodedNSGAII< NSGA3Indicator >::nm(), operator()(), serialize(), and shark::SMSEMOA::SMSEMOA().
double shark::PolynomialMutator::m_prob |
Definition at line 113 of file PolynomialMutation.h.
Referenced by init(), operator()(), and serialize().
RealVector shark::PolynomialMutator::m_upper |
Definition at line 115 of file PolynomialMutation.h.
Referenced by init(), operator()(), and serialize().